INFO: task syz-executor.2:1683 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25864 pid: 1683 ppid: 6546 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2242 do_new_mount_fc fs/namespace.c:2931 [inline] do_new_mount fs/namespace.c:2990 [inline] path_mount+0x14c6/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9a21809ae9 RSP: 002b:00007f9a2077f188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9a2191cf60 RCX: 00007f9a21809ae9 RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 00007f9a21863ff7 R08: 0000000020000580 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedbc352ef R14: 00007f9a2077f300 R15: 0000000000022000 INFO: task syz-executor.2:1699 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28056 pid: 1699 ppid: 6546 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] vfs_setxattr+0x11c/0x330 fs/xattr.c:300 setxattr+0x218/0x2b0 fs/xattr.c:575 path_setxattr+0x197/0x1c0 fs/xattr.c:595 __do_sys_setxattr fs/xattr.c:611 [inline] __se_sys_setxattr fs/xattr.c:607 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:607 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9a21809ae9 RSP: 002b:00007f9a2073d188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f9a2191d0f0 RCX: 00007f9a21809ae9 RDX: 0000000020000480 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 00007f9a21863ff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000006000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedbc352ef R14: 00007f9a2073d300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6213: 1 lock held by syz-fuzzer/6526: 2 locks held by kworker/0:9/9320: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc9000a8cfdb0 ((work_completion)(&m->wq)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 1 lock held by syz-executor.2/1683: #0: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242 2 locks held by syz-executor.2/1690: #0: ffff88806dbe6460 (sb_writers#23){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:593 #1: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: vfs_setxattr+0x11c/0x330 fs/xattr.c:300 2 locks held by syz-executor.2/1699: #0: ffff88806dbe6460 (sb_writers#23){.+.+}-{0:0}, at: path_setxattr+0xb2/0x1c0 fs/xattr.c:593 #1: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff88802fd70f48 (&sb->s_type->i_mutex_key#30){++++}-{3:3}, at: vfs_setxattr+0x11c/0x330 fs/xattr.c:300 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 45 Comm: kworker/u4:2 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xcb/0x180 mm/kasan/generic.c:189 Code: ed 48 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 7a 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 <74> 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 74 f2 eb RSP: 0018:ffffc9000114f998 EFLAGS: 00000002 RAX: fffffbfff1fee55b RBX: fffffbfff1fee55c RCX: ffffffff815c64cd RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8ff72ad8 RBP: fffffbfff1fee55b R08: 0000000000000000 R09: ffffffff8ff72adf R10: fffffbfff1fee55b R11: 0000000000000000 R12: 0000000000000001 R13: ffff888015d48000 R14: ffff888015d48a60 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f74782d80a0 CR3: 000000001a1bf000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] check_wait_context kernel/locking/lockdep.c:4725 [inline] __lock_acquire+0x6ed/0x54a0 kernel/locking/lockdep.c:4977 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_purge_orig_ref+0x176/0x1550 net/batman-adv/originator.c:1243 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1272 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: 48 8d 50 08 lea 0x8(%rax),%rdx 5: eb 09 jmp 0x10 7: 48 83 c0 01 add $0x1,%rax b: 48 39 d0 cmp %rdx,%rax e: 74 7a je 0x8a 10: 80 38 00 cmpb $0x0,(%rax) 13: 74 f2 je 0x7 15: 48 89 c2 mov %rax,%rdx 18: b8 01 00 00 00 mov $0x1,%eax 1d: 48 85 d2 test %rdx,%rdx 20: 75 56 jne 0x78 22: 5b pop %rbx 23: 5d pop %rbp 24: 41 5c pop %r12 26: c3 retq 27: 48 85 d2 test %rdx,%rdx * 2a: 74 5e je 0x8a <-- trapping instruction 2c: 48 01 ea add %rbp,%rdx 2f: eb 09 jmp 0x3a 31: 48 83 c0 01 add $0x1,%rax 35: 48 39 d0 cmp %rdx,%rax 38: 74 50 je 0x8a 3a: 80 38 00 cmpb $0x0,(%rax) 3d: 74 f2 je 0x31 3f: eb .byte 0xeb