INFO: task syz-executor.2:14687 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29712 14687 8157 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] do_last fs/namei.c:3324 [inline] path_openat+0x1071/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 validate_nla: 6 callbacks suppressed netlink: 'syz-executor.4': attribute type 1 has an invalid length. do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd413e8d639 Code: Bad RIP value. RSP: 002b:00007fd4123be168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd413fae120 RCX: 00007fd413e8d639 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fd413ee8a41 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc95c7cb0f R14: 00007fd4123be300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 00000000a5a5e7bf (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 3 locks held by systemd-udevd/4702: 1 lock held by in:imklog/7815: #0: 00000000468f1b52 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u4:8/9555: 2 locks held by kworker/u4:10/14485: 6 locks held by syz-executor.2/14673: 2 locks held by syz-executor.2/14687: #0: 000000000413775b (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000000413775b (sb_writers#18){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000055088f94 (&type->i_mutex_dir_key#11){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000055088f94 (&type->i_mutex_dir_key#11){+.+.}, at: do_last fs/namei.c:3324 [inline] #1: 0000000055088f94 (&type->i_mutex_dir_key#11){+.+.}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 1 lock held by segctord/14680: #0: 0000000038e56322 (&nilfs->ns_segctor_sem){++++}, at: nilfs_transaction_lock+0x1fb/0x8b0 fs/nilfs2/segment.c:362 1 lock held by syz-executor.2/22069: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7816 Comm: rs:main Q:Reg Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:debug_lockdep_rcu_enabled+0x0/0xe0 kernel/rcu/update.c:253 Code: ff ff 48 89 ef e8 90 c4 47 00 e9 fa fd ff ff 48 89 ef e8 83 c4 47 00 e9 62 fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <48> c7 c0 44 e0 26 8b 53 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 RSP: 0018:ffff888090ce7868 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286 RBP: ffffffff887a0ee0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 00000000000000a6 R13: 0000000000000000 R14: 0000000000001735 R15: ffff88809a6de5e8 FS: 00007f407e8a9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9db2f2c020 CR3: 00000000aa665000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ___might_sleep+0x2b/0x2b0 kernel/sched/core.c:6157 __ext4_journal_get_write_access+0x30/0xa0 fs/ext4/ext4_jbd2.c:166 ext4_reserve_inode_write+0x17d/0x260 fs/ext4/inode.c:5941 ext4_mark_inode_dirty+0x160/0x870 fs/ext4/inode.c:6105 ext4_dirty_inode+0x88/0xb0 fs/ext4/inode.c:6144 __mark_inode_dirty+0x16b/0x1140 fs/fs-writeback.c:2164 generic_update_time+0x21c/0x370 fs/inode.c:1659 update_time fs/inode.c:1675 [inline] file_update_time+0x316/0x500 fs/inode.c:1890 __generic_file_write_iter+0x1bc/0x610 mm/filemap.c:3245 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f40812ed1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f407e8a8590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4074025240 RCX: 00007f40812ed1cd RDX: 000000000000044c RSI: 00007f4074025240 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f4074024fc0 R13: 00007f407e8a85b0 R14: 0000556753317440 R15: 000000000000044c