INFO: task syz-executor.4:9598 blocked for more than 143 seconds. Not tainted 5.18.0-rc1-syzkaller-00259-g6c7376da2358 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27328 pid: 9598 ppid: 3625 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x939/0xea0 kernel/sched/core.c:6382 schedule+0xeb/0x1b0 kernel/sched/core.c:6454 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513 __mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785 misc_open+0x57/0x3c0 drivers/char/misc.c:107 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x77f/0xfd0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3609 do_filp_open+0x277/0x4f0 fs/namei.c:3636 do_sys_openat2+0x13b/0x500 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f630f289049 RSP: 002b:00007f631046f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f630f39c030 RCX: 00007f630f289049 RDX: 0000000000000000 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f630f2e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4b45a7cf R14: 00007f631046f300 R15: 0000000000022000 INFO: task syz-executor.0:9608 blocked for more than 143 seconds. Not tainted 5.18.0-rc1-syzkaller-00259-g6c7376da2358 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27328 pid: 9608 ppid: 3623 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x939/0xea0 kernel/sched/core.c:6382 schedule+0xeb/0x1b0 kernel/sched/core.c:6454 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6513 __mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785 misc_open+0x57/0x3c0 drivers/char/misc.c:107 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x77f/0xfd0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3609 do_filp_open+0x277/0x4f0 fs/namei.c:3636 do_sys_openat2+0x13b/0x500 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5e7223bf64 RSP: 002b:00007f5e73310020 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5e7239bf60 RCX: 00007f5e7223bf64 RDX: 0000000000000002 RSI: 00007f5e722e1eda RDI: 00000000ffffff9c RBP: 00007f5e722e1eda R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000020000000 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8c91aea0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3278: #0: ffff88814c9e8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 3 locks held by kworker/0:0/6929: #0: ffff888016bd7938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90015437d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88814982b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88814982b220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bf/0xd70 drivers/usb/core/hub.c:5693 1 lock held by syz-executor.4/9598: #0: ffffffff8c91fd20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c91fd20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x356/0x740 kernel/rcu/tree_exp.h:841 1 lock held by syz-executor.0/9608: #0: ffffffff8c91fd20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8c91fd20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x740 kernel/rcu/tree_exp.h:841 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc1-syzkaller-00259-g6c7376da2358 #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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 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+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30951 Comm: kworker/u4:17 Not tainted 5.18.0-rc1-syzkaller-00259-g6c7376da2358 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate 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+0x67/0x2e0 mm/kasan/generic.c:189 Code: 00 fc ff df 4f 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 48 bb 01 00 00 00 00 fc ff df 49 01 da 4d 89 d6 4d 29 ce 49 83 fe 10 7f 30 <4d> 85 f6 0f 84 8e 01 00 00 4c 89 cb 4c 29 d3 66 2e 0f 1f 84 00 00 RSP: 0018:ffffc90004d0f678 EFLAGS: 00000083 RAX: 0000000000000001 RBX: dffffc0000000001 RCX: ffffffff813c2c52 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888011320570 RBP: 000000000001ffff R08: dffffc0000000000 R09: ffffed10022640ae R10: ffffed10022640af R11: 1ffff110022640ae R12: ffff888011320000 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556d49b10600 CR3: 00000001400fb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] cr4_update_pce_mm arch/x86/mm/tlb.c:469 [inline] switch_mm_irqs_off+0x612/0x910 arch/x86/mm/tlb.c:645 use_temporary_mm arch/x86/kernel/alternative.c:962 [inline] __text_poke+0x5a1/0x9a0 arch/x86/kernel/alternative.c:1059 text_poke arch/x86/kernel/alternative.c:1121 [inline] text_poke_bp_batch+0x493/0x960 arch/x86/kernel/alternative.c:1385 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:785 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 4f 8d fisttps -0x73(%rdi) 3: 0c 03 or $0x3,%al 5: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10 a: 49 c1 ea 03 shr $0x3,%r10 e: 48 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%rbx 15: fc ff df 18: 49 01 da add %rbx,%r10 1b: 4d 89 d6 mov %r10,%r14 1e: 4d 29 ce sub %r9,%r14 21: 49 83 fe 10 cmp $0x10,%r14 25: 7f 30 jg 0x57 * 27: 4d 85 f6 test %r14,%r14 <-- trapping instruction 2a: 0f 84 8e 01 00 00 je 0x1be 30: 4c 89 cb mov %r9,%rbx 33: 4c 29 d3 sub %r10,%rbx 36: 66 data16 37: 2e cs 38: 0f .byte 0xf 39: 1f (bad) 3a: 84 00 test %al,(%rax)