INFO: task syz-executor.3:9178 can't die for more than 143 seconds. task:syz-executor.3 state:D stack:29512 pid: 9178 ppid: 3606 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f02cc489049 RSP: 002b:00007f02cd67e168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f02cc59c030 RCX: 00007f02cc489049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f02cc4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6359f49f R14: 00007f02cd67e300 R15: 0000000000022000 INFO: task syz-executor.3:9178 blocked for more than 144 seconds. Not tainted 5.18.0-rc1-next-20220406-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29512 pid: 9178 ppid: 3606 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f02cc489049 RSP: 002b:00007f02cd67e168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f02cc59c030 RCX: 00007f02cc489049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f02cc4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6359f49f R14: 00007f02cd67e300 R15: 0000000000022000 INFO: task syz-executor.1:9177 can't die for more than 144 seconds. task:syz-executor.1 state:D stack:29512 pid: 9177 ppid: 3605 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f55c4089049 RSP: 002b:00007f55c511e168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f55c419c030 RCX: 00007f55c4089049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f55c40e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7f9e079f R14: 00007f55c511e300 R15: 0000000000022000 INFO: task syz-executor.1:9177 blocked for more than 145 seconds. Not tainted 5.18.0-rc1-next-20220406-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29512 pid: 9177 ppid: 3605 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f55c4089049 RSP: 002b:00007f55c511e168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f55c419c030 RCX: 00007f55c4089049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f55c40e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7f9e079f R14: 00007f55c511e300 R15: 0000000000022000 INFO: task syz-executor.4:9179 can't die for more than 146 seconds. task:syz-executor.4 state:D stack:29512 pid: 9179 ppid: 3610 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa79f489049 RSP: 002b:00007fa7a055a168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007fa79f59c030 RCX: 00007fa79f489049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007fa79f4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccaf994af R14: 00007fa7a055a300 R15: 0000000000022000 INFO: task syz-executor.4:9179 blocked for more than 147 seconds. Not tainted 5.18.0-rc1-next-20220406-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29512 pid: 9179 ppid: 3610 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 inode_lock include/linux/fs.h:752 [inline] chown_common+0x41c/0x6d0 fs/open.c:810 do_fchownat+0x126/0x1e0 fs/open.c:844 __do_sys_chown fs/open.c:864 [inline] __se_sys_chown fs/open.c:862 [inline] __x64_sys_chown+0x77/0xb0 fs/open.c:862 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa79f489049 RSP: 002b:00007fa7a055a168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007fa79f59c030 RCX: 00007fa79f489049 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007fa79f4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccaf994af R14: 00007fa7a055a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by ksoftirqd/0/15: #0: ffff8880b9c39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:541 1 lock held by khungtaskd/28: #0: ffffffff8bd839a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3280: #0: ffff88807f698098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e562e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/1:8/3661: 2 locks held by syz-executor.3/9175: 2 locks held by syz-executor.3/9178: #0: ffff888077a6c460 (sb_writers#17){.+.+}-{0:0}, at: do_fchownat+0x101/0x1e0 fs/open.c:841 #1: ffff888073e14d48 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:752 [inline] #1: ffff888073e14d48 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: chown_common+0x41c/0x6d0 fs/open.c:810 2 locks held by syz-executor.1/9174: 2 locks held by syz-executor.1/9177: #0: ffff88805711e460 (sb_writers#17){.+.+}-{0:0}, at: do_fchownat+0x101/0x1e0 fs/open.c:841 #1: ffff888073e9e4a8 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:752 [inline] #1: ffff888073e9e4a8 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: chown_common+0x41c/0x6d0 fs/open.c:810 2 locks held by syz-executor.4/9176: 2 locks held by syz-executor.4/9179: #0: ffff888022d56460 (sb_writers#17){.+.+}-{0:0}, at: do_fchownat+0x101/0x1e0 fs/open.c:841 #1: ffff888073e9ded0 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:752 [inline] #1: ffff888073e9ded0 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: chown_common+0x41c/0x6d0 fs/open.c:810 2 locks held by syz-executor.0/9346: 2 locks held by syz-executor.0/9348: #0: ffff88807f7ec460 (sb_writers#17){.+.+}-{0:0}, at: do_fchownat+0x101/0x1e0 fs/open.c:841 #1: ffff888073e15320 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:752 [inline] #1: ffff888073e15320 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: chown_common+0x41c/0x6d0 fs/open.c:810 2 locks held by syz-executor.2/9436: #0: ffff888074eac460 (sb_writers#17){.+.+}-{0:0}, at: do_fchownat+0x101/0x1e0 fs/open.c:841 #1: ffff888073e9f630 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: inode_lock include/linux/fs.h:752 [inline] #1: ffff888073e9f630 (&sb->s_type->i_mutex_key#25){++++}-{3:3}, at: chown_common+0x41c/0x6d0 fs/open.c:810 2 locks held by syz-executor.2/9440: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc1-next-20220406-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+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3945 Comm: kworker/u4:12 Not tainted 5.18.0-rc1-next-20220406-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:match_held_lock+0xe/0xc0 kernel/locking/lockdep.c:5115 Code: 48 c7 c7 20 5a cc 89 e8 2d 4e bc ff e8 71 3b cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 48 89 fb 48 83 ec 08 48 39 77 10 74 6a <66> f7 47 22 f0 ff 74 5a 48 8b 46 08 48 89 f7 48 85 c0 74 42 8b 15 RSP: 0018:ffffc90005ca7b58 EFLAGS: 00000006 RAX: 000000000000000a RBX: ffff88805177e278 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd838e0 RDI: ffff88805177e278 RBP: ffffffff8bd838e0 R08: 0000000000000000 R09: ffffffff8db6fed7 R10: fffffbfff1b6dfda R11: 0000000000000000 R12: ffff88805177d7c0 R13: ffff88805177e228 R14: 00000000ffffffff R15: ffff88805177e278 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000065000 CR3: 000000001a576000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5406 [inline] lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5708 lock_is_held include/linux/lockdep.h:279 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x560/0x780 kernel/locking/lockdep.c:5676 rcu_lock_release include/linux/rcupdate.h:273 [inline] rcu_read_unlock include/linux/rcupdate.h:727 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x86b/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 48 c7 c7 20 5a cc 89 mov $0xffffffff89cc5a20,%rdi 7: e8 2d 4e bc ff callq 0xffbc4e39 c: e8 71 3b cc ff callq 0xffcc3b82 11: 31 c0 xor %eax,%eax 13: 5d pop %rbp 14: c3 retq 15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1c: 53 push %rbx 1d: 48 89 fb mov %rdi,%rbx 20: 48 83 ec 08 sub $0x8,%rsp 24: 48 39 77 10 cmp %rsi,0x10(%rdi) 28: 74 6a je 0x94 * 2a: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) <-- trapping instruction 30: 74 5a je 0x8c 32: 48 8b 46 08 mov 0x8(%rsi),%rax 36: 48 89 f7 mov %rsi,%rdi 39: 48 85 c0 test %rax,%rax 3c: 74 42 je 0x80 3e: 8b .byte 0x8b 3f: 15 .byte 0x15