INFO: task syz-executor.2:24382 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24752 pid:24382 ppid: 11636 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178 __loop_clr_fd+0x1c6/0x9b0 drivers/block/loop.c:1122 loop_clr_fd drivers/block/loop.c:1237 [inline] lo_ioctl+0x107b/0x1f40 drivers/block/loop.c:1562 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc12e8968a7 RSP: 002b:00007fc12be0bfa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc12e8968a7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007fc12be0c6bc R08: 00007fc12be0c040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000005 R14: 00007fc12be0c000 R15: 0000000020010400 INFO: task syz-executor.2:24416 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26960 pid:24416 ppid: 11636 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 blkdev_open+0x137/0x2f0 block/fops.c:501 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc12e849a04 RSP: 002b:00007fc12bdeaed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc12e8e0970 RCX: 00007fc12e849a04 RDX: 0000000000000002 RSI: 00007fc12bdeb000 RDI: 00000000ffffff9c RBP: 00007fc12bdeb000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 0000000020000218 R15: 0000000000000001 Showing all locks held in the system: 1 lock held by ksoftirqd/1/19: #0: ffff8880b9b395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 1 lock held by khungtaskd/27: #0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6212: #0: ffff88801df91c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by kworker/u4:6/8427: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 2 locks held by systemd-udevd/24024: #0: ffff8881473a8118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 #1: ffff88801a91bb60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733 1 lock held by syz-executor.2/24382: #0: ffff88801a91bb60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x6d/0x9b0 drivers/block/loop.c:1106 1 lock held by syz-executor.2/24416: #0: ffff8881473a8118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13092 Comm: kworker/u4:7 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy8 ieee80211_iface_work RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [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+0x2a0/0x2f0 mm/kasan/generic.c:189 Code: aa 49 83 c1 07 eb 03 4d 89 f9 4d 89 cf 4d 85 c9 74 99 4c 8d 4c 3e ff 4c 89 cb 48 c1 eb 03 4c 01 c3 49 39 df 75 11 41 83 e1 07 <49> 0f be db 49 39 d9 0f 8c 74 ff ff ff 0f b6 d2 e8 bb f1 ff ff 34 RSP: 0018:ffffc90004abf210 EFLAGS: 00000006 RAX: 00000000ffffff01 RBX: fffff52000957e54 RCX: ffffffff8167b141 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90004abf2a0 RBP: ffffc90004abf310 R08: dffffc0000000000 R09: 0000000000000003 R10: fffff52000957e55 R11: 0000000000000004 R12: 1ffff92000957e54 R13: dffffc0000000001 R14: 0000000000000001 R15: fffff52000957e54 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59a629a018 CR3: 000000000c88e000 CR4: 00000000003526f0 DR0: 0000800000000002 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:512 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock+0x151/0x8e0 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0xdd/0x120 kernel/locking/spinlock.c:162 kfence_guarded_alloc+0x9e/0xad0 mm/kfence/core.c:367 __kfence_alloc+0x947/0xba0 mm/kfence/core.c:908 kfence_alloc include/linux/kfence.h:126 [inline] slab_alloc_node mm/slub.c:3152 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc_trace+0x31a/0x330 mm/slub.c:3259 kmalloc include/linux/slab.h:590 [inline] kzalloc include/linux/slab.h:724 [inline] ieee802_11_parse_elems_crc+0xc7/0x1040 net/mac80211/util.c:1471 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2208 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0x389/0x2b30 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline] ieee80211_iface_work+0x709/0xc90 net/mac80211/iface.c:1522 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: aa stos %al,%es:(%rdi) 1: 49 83 c1 07 add $0x7,%r9 5: eb 03 jmp 0xa 7: 4d 89 f9 mov %r15,%r9 a: 4d 89 cf mov %r9,%r15 d: 4d 85 c9 test %r9,%r9 10: 74 99 je 0xffffffab 12: 4c 8d 4c 3e ff lea -0x1(%rsi,%rdi,1),%r9 17: 4c 89 cb mov %r9,%rbx 1a: 48 c1 eb 03 shr $0x3,%rbx 1e: 4c 01 c3 add %r8,%rbx 21: 49 39 df cmp %rbx,%r15 24: 75 11 jne 0x37 26: 41 83 e1 07 and $0x7,%r9d * 2a: 49 0f be db movsbq %r11b,%rbx <-- trapping instruction 2e: 49 39 d9 cmp %rbx,%r9 31: 0f 8c 74 ff ff ff jl 0xffffffab 37: 0f b6 d2 movzbl %dl,%edx 3a: e8 bb f1 ff ff callq 0xfffff1fa 3f: 34 .byte 0x34