INFO: task syz-executor.3:17669 blocked for more than 143 seconds.
Not tainted 5.16.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:28496 pid:17669 ppid: 4880 flags:0x00000004
Call Trace:
<TASK>
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
drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
drm_prime_fd_to_handle_ioctl+0x9b/0xd0 drivers/gpu/drm/drm_prime.c:374
drm_ioctl_kernel+0x27d/0x4e0 drivers/gpu/drm/drm_ioctl.c:782
drm_ioctl+0x51e/0x9d0 drivers/gpu/drm/drm_ioctl.c:885
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:0x7fa3f9fcee99
RSP: 002b:00007fa3f8944168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa3fa0e1f60 RCX: 00007fa3f9fcee99
RDX: 00000000200004c0 RSI: 00000000c00c642e RDI: 0000000000000004
RBP: 00007fa3fa028ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffff16ef19f R14: 00007fa3f8944300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by syslogd/2952:
#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
2 locks held by getty/3279:
#0: ffff88802360c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
3 locks held by syz-executor.2/17643:
#0: ffff88807cab23d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff88801a7aac70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
#2: ffff88801def4298 (&shmem->pages_lock){+.+.}-{3:3}, at: drm_gem_shmem_get_pages+0x56/0x250 drivers/gpu/drm/drm_gem_shmem_helper.c:203
2 locks held by syz-executor.3/17669:
#0: ffff88807cab13d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff88801a7aac70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
<TASK>
__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: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
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7737 Comm: kworker/u4:13 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy22 ieee80211_iface_work
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_is_held_type+0x51/0x140 kernel/locking/lockdep.c:5676
Code: bd 76 85 c0 0f 85 ca 00 00 00 65 4c 8b 24 25 40 70 02 00 41 8b 94 24 5c 0a 00 00 85 d2 0f 85 b1 00 00 00 48 89 fd 41 89 f6 9c <8f> 04 24 fa 48 c7 c7 a0 0f ac 89 31 db e8 1d 0e 00 00 41 8b 84 24
RSP: 0018:ffffc9000409f668 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc9000409fa38 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8bb83d20
RBP: ffffffff8bb83d20 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff88783709 R11: 0000000000000000 R12: ffff88802bc81d00
R13: 00000000ffffffff R14: 00000000ffffffff R15: ffff88807b8c05c0
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0135361a0 CR3: 00000000149dd000 CR4: 0000000000350ef0
Call Trace:
<TASK>
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_cfg80211_inform_bss_frame net/wireless/trace.h:3325 [inline]
cfg80211_inform_single_bss_frame_data+0xbac/0xee0 net/wireless/scan.c:2340
cfg80211_inform_bss_frame_data+0xa7/0xb50 net/wireless/scan.c:2458
ieee80211_bss_info_update+0x35b/0xb30 net/mac80211/scan.c:190
ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline]
ieee80211_ibss_rx_queued_mgmt+0x19cf/0x3130 net/mac80211/ibss.c:1639
ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline]
ieee80211_iface_work+0xa65/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
</TASK>
----------------
Code disassembly (best guess):
0: bd 76 85 c0 0f mov $0xfc08576,%ebp
5: 85 ca test %ecx,%edx
7: 00 00 add %al,(%rax)
9: 00 65 4c add %ah,0x4c(%rbp)
c: 8b 24 25 40 70 02 00 mov 0x27040,%esp
13: 41 8b 94 24 5c 0a 00 mov 0xa5c(%r12),%edx
1a: 00
1b: 85 d2 test %edx,%edx
1d: 0f 85 b1 00 00 00 jne 0xd4
23: 48 89 fd mov %rdi,%rbp
26: 41 89 f6 mov %esi,%r14d
29: 9c pushfq
* 2a: 8f 04 24 popq (%rsp) <-- trapping instruction
2d: fa cli
2e: 48 c7 c7 a0 0f ac 89 mov $0xffffffff89ac0fa0,%rdi
35: 31 db xor %ebx,%ebx
37: e8 1d 0e 00 00 callq 0xe59
3c: 41 rex.B
3d: 8b .byte 0x8b
3e: 84 .byte 0x84
3f: 24 .byte 0x24