INFO: task syz-executor.5:21121 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.5 state:D stack:28048 pid:21121 ppid: 20287 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7f586c708ae9 RSP: 002b:00007f5869c7e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f586c81bf60 RCX: 00007f586c708ae9 RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004 RBP: 00007f586c762f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd702d745f R14: 00007f5869c7e300 R15: 0000000000022000 INFO: task syz-executor.5:21149 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.5 state:D stack:28048 pid:21149 ppid: 20287 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7f586c708ae9 RSP: 002b:00007f5869c5d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f586c81c020 RCX: 00007f586c708ae9 RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004 RBP: 00007f586c762f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd702d745f R14: 00007f5869c5d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-journal/2967: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 2 locks held by kworker/u4:8/18109: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x173/0x490 kernel/sched/psi.c:871 2 locks held by kworker/u4:9/29416: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 1 lock held by syz-executor.5/21121: #0: ffff88801a89e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 1 lock held by syz-executor.5/21149: #0: ffff88801a89e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 ============================================= 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+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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29416 Comm: kworker/u4:9 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy89 ieee80211_iface_work RIP: 0010:mark_held_locks+0xb5/0xe0 kernel/locking/lockdep.c:4211 Code: 80 fa 01 89 ea 83 da ff a8 04 74 0c 4c 89 e7 e8 b1 e7 ff ff 85 c0 74 12 83 c3 01 41 39 9c 24 58 0a 00 00 7f a9 b8 01 00 00 00 <48> 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 e8 89 08 62 00 e9 6d ff ff RSP: 0018:ffffc900027efaa0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000002 RCX: 1ffffffff1ff9f46 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffffff8ffcfa30 RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffff8ff76aef R10: 0000000000000001 R11: 000000000000003f R12: ffff88801b040000 R13: dffffc0000000000 R14: ffff88801b040a60 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f503f647008 CR3: 000000007a787000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:4224 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4244 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:1002 [inline] debug_check_no_obj_freed+0x20c/0x420 lib/debugobjects.c:1023 slab_free_hook mm/slub.c:1698 [inline] slab_free_freelist_hook+0xeb/0x1c0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kmem_cache_free+0x92/0x5e0 mm/slub.c:3529 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:700 __kfree_skb net/core/skbuff.c:757 [inline] kfree_skb net/core/skbuff.c:774 [inline] kfree_skb+0x140/0x3f0 net/core/skbuff.c:768 ieee80211_iface_work+0x411/0xd00 net/mac80211/iface.c:1522 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: 80 fa 01 cmp $0x1,%dl 3: 89 ea mov %ebp,%edx 5: 83 da ff sbb $0xffffffff,%edx 8: a8 04 test $0x4,%al a: 74 0c je 0x18 c: 4c 89 e7 mov %r12,%rdi f: e8 b1 e7 ff ff callq 0xffffe7c5 14: 85 c0 test %eax,%eax 16: 74 12 je 0x2a 18: 83 c3 01 add $0x1,%ebx 1b: 41 39 9c 24 58 0a 00 cmp %ebx,0xa58(%r12) 22: 00 23: 7f a9 jg 0xffffffce 25: b8 01 00 00 00 mov $0x1,%eax * 2a: 48 83 c4 08 add $0x8,%rsp <-- trapping instruction 2e: 5b pop %rbx 2f: 5d pop %rbp 30: 41 5c pop %r12 32: 41 5d pop %r13 34: 41 5e pop %r14 36: c3 retq 37: e8 89 08 62 00 callq 0x6208c5 3c: e9 .byte 0xe9 3d: 6d insl (%dx),%es:(%rdi) 3e: ff (bad) 3f: ff .byte 0xff