INFO: task syz-executor.1:13364 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28112 pid:13364 ppid: 13336 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 ptmx_open drivers/tty/pty.c:833 [inline] ptmx_open+0x103/0x360 drivers/tty/pty.c:800 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 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:0x7fc7e4610059 RSP: 002b:00007fc7e2f64168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc7e4723030 RCX: 00007fc7e4610059 RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c RBP: 00007fc7e466a08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc7e4c56b1f R14: 00007fc7e2f64300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83c20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by klogd/2953: #0: ffff8880b9c39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff888145dace58 (&ei->socket.wq.wait){..-.}-{2:2}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 2 locks held by getty/3282: #0: ffff888023b36098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 2 locks held by kworker/u4:7/13358: #0: ffff8880b9c39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 1 lock held by syz-executor.1/13364: #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open drivers/tty/pty.c:833 [inline] #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0x103/0x360 drivers/tty/pty.c:800 3 locks held by syz-executor.0/13366: 1 lock held by syz-executor.5/13395: #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.2/13411: #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open drivers/tty/pty.c:833 [inline] #0: ffffffff8c5aeba8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0x103/0x360 drivers/tty/pty.c:800 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #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: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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13358 Comm: kworker/u4:7 Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy55 ieee80211_iface_work RIP: 0010:__sanitizer_cov_trace_cmp8+0x69/0x70 kernel/kcov.c:268 Code: 3c cd 28 00 00 00 48 39 fe 72 1f 48 83 c2 01 4c 89 44 38 e8 48 c7 44 38 e0 06 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b RSP: 0018:ffffc9000116f618 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff90552f40 RCX: ffff88823bceac00 RDX: 0000000000000000 RSI: ffff888018c80000 RDI: 0000000000000003 RBP: ffff88823bcea000 R08: ffff88823bcea94c R09: 0000000000000001 R10: ffffffff81bfebb3 R11: 0000000000000000 R12: ffff88823bceac00 R13: dffffc0000000000 R14: ffff88823bcea94c R15: ffff88823bceac00 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0040bd000 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: for_each_canary mm/kfence/core.c:345 [inline] kfence_guarded_alloc mm/kfence/core.c:437 [inline] __kfence_alloc+0xea3/0x1490 mm/kfence/core.c:910 kfence_alloc include/linux/kfence.h:126 [inline] slab_alloc_node mm/slub.c:3148 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc_trace+0x2a5/0x2c0 mm/slub.c:3255 kmalloc include/linux/slab.h:581 [inline] kzalloc include/linux/slab.h:715 [inline] ieee802_11_parse_elems_crc+0xd5/0x1050 net/mac80211/util.c:1489 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2228 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0xd0e/0x3150 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0xa69/0xd00 net/mac80211/iface.c:1581 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: 3c cd cmp $0xcd,%al 2: 28 00 sub %al,(%rax) 4: 00 00 add %al,(%rax) 6: 48 39 fe cmp %rdi,%rsi 9: 72 1f jb 0x2a b: 48 83 c2 01 add $0x1,%rdx f: 4c 89 44 38 e8 mov %r8,-0x18(%rax,%rdi,1) 14: 48 c7 44 38 e0 06 00 movq $0x6,-0x20(%rax,%rdi,1) 1b: 00 00 1d: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) 22: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 27: 48 89 10 mov %rdx,(%rax) * 2a: c3 retq <-- trapping instruction 2b: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 31: 53 push %rbx 32: 41 89 fb mov %edi,%r11d 35: 41 89 f1 mov %esi,%r9d 38: bf 03 00 00 00 mov $0x3,%edi 3d: 65 gs 3e: 48 rex.W 3f: 8b .byte 0x8b