INFO: task syz-executor.4:837 blocked for more than 143 seconds. Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28048 pid: 837 ppid: 30570 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_release_struct+0xa9/0xe0 drivers/tty/tty_io.c:1704 tty_release+0xc70/0x1200 drivers/tty/tty_io.c:1865 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8c96f73c8b RSP: 002b:00007f8c97607b80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f8c96f73c8b RDX: 0000001b32220000 RSI: 00007f8c96b40150 RDI: 0000000000000003 RBP: 00007f8c970d5960 R08: 0000000000000000 R09: 000000006dae50f1 R10: 00007ffcc9c7b090 R11: 0000000000000293 R12: 0000000000247c40 R13: 00007f8c97607c80 R14: 00007f8c970d4100 R15: 0000000000000032 INFO: task syz-executor.5:858 blocked for more than 143 seconds. Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28456 pid: 858 ppid: 3624 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1250 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 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:0x7f48a1ccff64 RSP: 002b:00007f48a0691ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f48a1e2ff60 RCX: 00007f48a1ccff64 RDX: 0000000000000002 RSI: 00007f48a0691d40 RDI: 00000000ffffff9c RBP: 00007f48a0691d40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007f48a2363b1f R14: 00007f48a0692300 R15: 0000000000022000 INFO: task syz-executor.5:866 blocked for more than 143 seconds. Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28456 pid: 866 ppid: 3624 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1250 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 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:0x7f48a1ccff64 RSP: 002b:00007f48a0670ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f48a1e30030 RCX: 00007f48a1ccff64 RDX: 0000000000000002 RSI: 00007f48a0670d40 RDI: 00000000ffffff9c RBP: 00007f48a0670d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007f48a2363b1f R14: 00007f48a0671300 R15: 0000000000022000 INFO: task syz-executor.5:869 blocked for more than 144 seconds. Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28456 pid: 869 ppid: 3624 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1250 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 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:0x7f48a1ccff64 RSP: 002b:00007f48a064fca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f48a1e30100 RCX: 00007f48a1ccff64 RDX: 0000000000000002 RSI: 00007f48a064fd40 RDI: 00000000ffffff9c RBP: 00007f48a064fd40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007f48a2363b1f R14: 00007f48a0650300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb84ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3278: #0: ffff8880241f6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 3 locks held by syz-executor.2/840: 1 lock held by syz-executor.4/837: #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xa9/0xe0 drivers/tty/tty_io.c:1704 1 lock held by syz-executor.5/858: #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.5/866: #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.5/869: #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5b2668 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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: 3678 Comm: kworker/u4:6 Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [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+0x55/0x180 mm/kasan/generic.c:189 Code: 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 <49> 8d 5a 01 48 89 da 48 29 ea 48 83 fa 10 7e 63 41 89 eb 41 83 e3 RSP: 0018:ffffc9000430fb88 EFLAGS: 00000282 RAX: fffffbfff1b28602 RBX: 1ffff92000861f77 RCX: ffffffff815d9338 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8d943010 RBP: fffffbfff1b28602 R08: 0000000000000000 R09: ffffffff8d943017 R10: fffffbfff1b28602 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bb84ca0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f104637a1c8 CR3: 0000000024a9c000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:379 [inline] cpu_online include/linux/cpumask.h:921 [inline] trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xb8/0x510 kernel/locking/lockdep.c:5610 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 86 05 01 00 00 49 xchg %al,0x49000001(%rip) # 0x49000007 6: 83 e9 01 sub $0x1,%ecx 9: 48 89 fd mov %rdi,%rbp c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 13: fc ff df 16: 4d 89 ca mov %r9,%r10 19: 48 c1 ed 03 shr $0x3,%rbp 1d: 49 c1 ea 03 shr $0x3,%r10 21: 48 01 c5 add %rax,%rbp 24: 49 01 c2 add %rax,%r10 27: 48 89 e8 mov %rbp,%rax * 2a: 49 8d 5a 01 lea 0x1(%r10),%rbx <-- trapping instruction 2e: 48 89 da mov %rbx,%rdx 31: 48 29 ea sub %rbp,%rdx 34: 48 83 fa 10 cmp $0x10,%rdx 38: 7e 63 jle 0x9d 3a: 41 89 eb mov %ebp,%r11d 3d: 41 rex.B 3e: 83 .byte 0x83 3f: e3 .byte 0xe3