INFO: task kworker/u4:5:1050 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:16952 pid:1050 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 io_schedule+0x83/0x100 kernel/sched/core.c:8723 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1296 write_cache_pages+0x47a/0x1340 mm/page-writeback.c:2327 generic_writepages+0xe4/0x150 mm/page-writeback.c:2451 do_writepages+0x3c3/0x680 mm/page-writeback.c:2469 __writeback_single_inode+0xd1/0x670 fs/fs-writeback.c:1587 writeback_sb_inodes+0xb3b/0x18f0 fs/fs-writeback.c:1870 __writeback_inodes_wb+0x125/0x420 fs/fs-writeback.c:1941 wb_writeback+0x440/0x7b0 fs/fs-writeback.c:2046 wb_check_start_all fs/fs-writeback.c:2168 [inline] wb_do_writeback fs/fs-writeback.c:2194 [inline] wb_workfn+0x827/0xef0 fs/fs-writeback.c:2227 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.0:8356 blocked for more than 144 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:21224 pid:8356 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 io_schedule+0x83/0x100 kernel/sched/core.c:8723 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:69 [inline] lock_buffer include/linux/buffer_head.h:397 [inline] __sync_dirty_buffer+0x107/0x330 fs/buffer.c:2732 __ext4_handle_dirty_metadata+0x29a/0x810 fs/ext4/ext4_jbd2.c:381 ext4_handle_dirty_dirblock+0x363/0x6b0 fs/ext4/namei.c:438 ext4_finish_convert_inline_dir+0x58a/0x700 fs/ext4/inline.c:1182 ext4_convert_inline_data_nolock+0x63c/0x820 fs/ext4/inline.c:1259 ext4_try_add_inline_entry+0x683/0x990 fs/ext4/inline.c:1332 ext4_add_entry+0x5a4/0xeb0 fs/ext4/namei.c:2385 ext4_mkdir+0x557/0xcf0 fs/ext4/namei.c:3007 vfs_mkdir+0x3b3/0x590 fs/namei.c:4035 do_mkdirat+0x279/0x550 fs/namei.c:4060 __do_sys_mkdirat fs/namei.c:4075 [inline] __se_sys_mkdirat fs/namei.c:4073 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4073 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b27783168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f4b26babf80 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: ffffffffffffff9c RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b27783300 R15: 0000000000022000 INFO: task syz-executor.0:8360 blocked for more than 144 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23304 pid:8360 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_fchownat+0xdf/0x240 fs/open.c:761 __do_sys_chown fs/open.c:787 [inline] __se_sys_chown fs/open.c:785 [inline] __x64_sys_chown+0x7e/0x90 fs/open.c:785 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b27762168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f4b26bac050 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 00000000706d6174 RDI: 00000000200014c0 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b27762300 R15: 0000000000022000 INFO: task syz-executor.0:8361 blocked for more than 145 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24584 pid:8361 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component fs/namei.c:1993 [inline] link_path_walk+0xa06/0xf00 fs/namei.c:2320 path_lookupat+0xab/0x450 fs/namei.c:2473 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_fchownat+0xdf/0x240 fs/open.c:761 __do_sys_lchown fs/open.c:792 [inline] __se_sys_lchown fs/open.c:790 [inline] __x64_sys_lchown+0x81/0x90 fs/open.c:790 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b27741168 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f4b26bac120 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 00000000706d6174 RDI: 00000000200006c0 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b27741300 R15: 0000000000022000 INFO: task syz-executor.0:8370 blocked for more than 145 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24728 pid:8370 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component fs/namei.c:1993 [inline] link_path_walk+0xa06/0xf00 fs/namei.c:2320 path_openat+0x237/0x2df0 fs/namei.c:3709 do_filp_open+0x264/0x4f0 fs/namei.c:3740 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b276ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4b26bac2c0 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000500 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b276ff300 R15: 0000000000022000 INFO: task syz-executor.0:8377 blocked for more than 146 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25480 pid:8377 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:514 [inline] __se_sys_chdir+0xb8/0x220 fs/open.c:508 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b25dff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f4b26bac390 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200004c0 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b25dff300 R15: 0000000000022000 INFO: task syz-executor.0:8380 blocked for more than 146 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25480 pid:8380 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x296/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b25dde168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f4b26bac460 RCX: 00007f4b26a8b639 RDX: 0000000020000300 RSI: 00000000200001c0 RDI: 0000000000000000 RBP: 00007f4b26ae6ae9 R08: 00000000200005c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b25dde300 R15: 0000000000022000 INFO: task syz-executor.0:8387 blocked for more than 147 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24728 pid:8387 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_read_slowpath+0x5f9/0x930 kernel/locking/rwsem.c:1095 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1260 inode_lock_shared include/linux/fs.h:766 [inline] lookup_slow+0x45/0x70 fs/namei.c:1701 walk_component fs/namei.c:1993 [inline] link_path_walk+0xa06/0xf00 fs/namei.c:2320 path_openat+0x237/0x2df0 fs/namei.c:3709 do_filp_open+0x264/0x4f0 fs/namei.c:3740 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b25dbd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4b26bac530 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b25dbd300 R15: 0000000000022000 INFO: task syz-executor.0:8393 blocked for more than 147 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25480 pid:8393 ppid:3667 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write_nested+0x23f/0x280 kernel/locking/rwsem.c:1673 inode_lock_nested include/linux/fs.h:791 [inline] filename_create+0x22a/0x4f0 fs/namei.c:3806 do_symlinkat+0xe4/0x600 fs/namei.c:4419 __do_sys_symlink fs/namei.c:4451 [inline] __se_sys_symlink fs/namei.c:4449 [inline] __x64_sys_symlink+0x7a/0x90 fs/namei.c:4449 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b26a8b639 RSP: 002b:00007f4b25d9c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 00007f4b26bac600 RCX: 00007f4b26a8b639 RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000020000380 RBP: 00007f4b26ae6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec927a52f R14: 00007f4b25d9c300 R15: 0000000000022000 INFO: task syz-executor.3:8367 blocked for more than 148 seconds. Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20424 pid:8367 ppid:3677 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 wb_wait_for_completion+0x155/0x280 fs/fs-writeback.c:191 sync_inodes_sb+0x283/0xaa0 fs/fs-writeback.c:2706 iterate_supers+0x137/0x1f0 fs/super.c:724 ksys_sync+0xb7/0x1c0 fs/sync.c:102 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f886f88b639 RSP: 002b:00007f886ebff168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f886f9abf80 RCX: 00007f886f88b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f886f8e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff43b6547f R14: 00007f886ebff300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d327160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:5/1050: #0: ffff88801815e938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90004c3fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffff88813fe220e0 (&type->s_umount_key#40){.+.+}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 2 locks held by getty/3312: #0: ffff888028f40098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 3 locks held by syz-executor.0/8356: #0: ffff8880786fe460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888083b0d440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888083b0d440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3806 #2: ffff888083b0d108 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888083b0d108 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xe1/0x990 fs/ext4/inline.c:1290 1 lock held by syz-executor.0/8360: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.0/8361: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.0/8370: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.0/8377: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.0/8380: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.0/8387: #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888083b0d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 2 locks held by syz-executor.0/8393: #0: ffff8880786fe460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888083b0d440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888083b0d440 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3806 2 locks held by syz-executor.3/8367: #0: ffff8880786fe0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2704 1 lock held by syz-executor.3/8371: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 1 lock held by syz-executor.3/8376: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 1 lock held by syz-executor.3/8381: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 1 lock held by syz-executor.3/8389: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 1 lock held by syz-executor.3/8392: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 1 lock held by syz-executor.3/8400: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052 2 locks held by syz-executor.3/8403: #0: ffff8880786fe0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2704 2 locks held by syz-executor.3/8406: #0: ffff8880786fe0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2704 1 lock held by syz-executor.0/8463: #0: ffff88801f0184c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:813 2 locks held by syz-executor.3/8488: #0: ffff8880786fe0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2704 2 locks held by syz-executor.3/8490: #0: ffff8880786fe0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88801f0207d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2704 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.0-rc5-syzkaller-00307-gfe24a97cf254 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x2/0x110 lib/smp_processor_id.c:13 Code: c7 c7 40 43 3c 8d 48 89 de e8 0a 92 d7 f9 e9 64 ff ff ff cc cc cc cc cc 48 c7 c7 40 4a 4d 8b 48 c7 c6 80 4a 4d 8b eb 00 41 57 <41> 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 RSP: 0018:ffffc90000b77948 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000002 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8aedc420 RDI: ffffffff8b4d4aa0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1d2f2be R10: fffffbfff1d2f2be R11: 1ffffffff1d2f2bd R12: 0000000000000246 R13: ffff888018823a80 R14: 00000000ffffffff R15: ffffffff8d3270e0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc147f5ccf8 CR3: 000000007bb35000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] lock_is_held_type+0xfa/0x180 kernel/locking/lockdep.c:5712 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x87/0x110 kernel/rcu/update.c:125 trace_lock_acquire+0x98/0x260 include/trace/events/lock.h:24 lock_acquire+0xa4/0x3c0 kernel/locking/lockdep.c:5639 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:304 rcu_read_lock include/linux/rcupdate.h:738 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306