INFO: task syz-executor.1:8811 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27608 pid: 8811 ppid: 8050 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 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:0x7fb6558a9ae9 RSP: 002b:00007fb652dfe188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb6559bd020 RCX: 00007fb6558a9ae9 RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fb655903f25 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6f0d2def R14: 00007fb652dfe300 R15: 0000000000022000 INFO: task syz-executor.1:8812 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28136 pid: 8812 ppid: 8050 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x941/0x2740 fs/namei.c:3556 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_creat fs/open.c:1292 [inline] __se_sys_creat fs/open.c:1286 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1286 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:0x7fb6558a9ae9 RSP: 002b:00007fb652ddd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fb6559bd0e0 RCX: 00007fb6558a9ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200 RBP: 00007fb655903f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6f0d2def R14: 00007fb652ddd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6168: 2 locks held by agetty/4307: #0: ffff88802d93e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90001a682e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by syz-executor.1/8778: #0: ffff888076fdc460 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3339 [inline] #0: ffff888076fdc460 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x25c9/0x2740 fs/namei.c:3556 #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: path_openat+0x941/0x2740 fs/namei.c:3556 1 lock held by syz-executor.1/8811: #0: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242 2 locks held by syz-executor.1/8812: #0: ffff888076fdc460 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3339 [inline] #0: ffff888076fdc460 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x25c9/0x2740 fs/namei.c:3556 #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff8880925d95a0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: path_openat+0x941/0x2740 fs/namei.c:3556 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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: 1352 Comm: kworker/u4:4 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x1b1/0x54a0 kernel/locking/lockdep.c:4921 Code: 0f 87 f6 10 00 00 48 b9 ab aa aa aa aa aa aa aa 48 2d 20 ee d3 8f 48 c1 f8 06 48 0f af c1 49 8d 8d 60 0a 00 00 48 89 4c 24 28 <48> 89 44 24 10 8b 44 24 18 48 89 c6 48 8d 04 80 85 f6 4c 8d 24 c5 RSP: 0018:ffffc9000519fa60 EFLAGS: 00000817 RAX: 0000000000000028 RBX: ffffffff8b983960 RCX: ffff88801ca6c460 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff8b983968 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801ca6ba00 R14: 0000000000000002 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa58342c000 CR3: 00000000701d3000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723 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: 0f 87 f6 10 00 00 ja 0x10fc 6: 48 b9 ab aa aa aa aa movabs $0xaaaaaaaaaaaaaaab,%rcx d: aa aa aa 10: 48 2d 20 ee d3 8f sub $0xffffffff8fd3ee20,%rax 16: 48 c1 f8 06 sar $0x6,%rax 1a: 48 0f af c1 imul %rcx,%rax 1e: 49 8d 8d 60 0a 00 00 lea 0xa60(%r13),%rcx 25: 48 89 4c 24 28 mov %rcx,0x28(%rsp) * 2a: 48 89 44 24 10 mov %rax,0x10(%rsp) <-- trapping instruction 2f: 8b 44 24 18 mov 0x18(%rsp),%eax 33: 48 89 c6 mov %rax,%rsi 36: 48 8d 04 80 lea (%rax,%rax,4),%rax 3a: 85 f6 test %esi,%esi 3c: 4c rex.WR 3d: 8d .byte 0x8d 3e: 24 c5 and $0xc5,%al