INFO: task syz-executor.5:26226 blocked for more than 143 seconds.
Not tainted 5.16.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:28032 pid:26226 ppid: 11940 flags:0x00004002
Call Trace:
<TASK>
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 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_object_handle_put_unlocked+0x90/0x320 drivers/gpu/drm/drm_gem.c:230
drm_gem_object_release_handle+0xe3/0x110 drivers/gpu/drm/drm_gem.c:258
idr_for_each+0x113/0x220 lib/idr.c:208
drm_gem_release+0x22/0x30 drivers/gpu/drm/drm_gem.c:930
drm_file_free.part.0+0x805/0xb80 drivers/gpu/drm/drm_file.c:281
drm_file_free drivers/gpu/drm/drm_file.c:248 [inline]
drm_close_helper.isra.0+0x17d/0x1f0 drivers/gpu/drm/drm_file.c:308
drm_release+0x1e6/0x530 drivers/gpu/drm/drm_file.c:495
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0xc14/0x2b40 kernel/exit.c:832
do_group_exit+0x125/0x310 kernel/exit.c:929
get_signal+0x47d/0x2220 kernel/signal.c:2852
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288
RIP: 0033:0x7f24021a92c1
RSP: 002b:00007f2400a152f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007f2400a15700 RCX: 00007f24021a92c1
RDX: 00007f2400a159d0 RSI: 00007f2400a152f0 RDI: 00000000003d0f00
RBP: 00007f24027eecb0 R08: 00007f2400a15700 R09: 00007f2400a15700
R10: 00007f2400a159d0 R11: 0000000000000206 R12: 00007f24027eeb1e
R13: 00007f24027eeb1f R14: 00007f2400a15300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.4:26355 blocked for more than 143 seconds.
Not tainted 5.16.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:26920 pid:26355 ppid: 3655 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 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:0x7f4f19143e99
RSP: 002b:00007f4f17ab9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4f19256f60 RCX: 00007f4f19143e99
RDX: 00000000200004c0 RSI: 00000000c00c642e RDI: 0000000000000005
RBP: 00007f4f1919dff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f1978ab1f R14: 00007f4f17ab9300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by getty/3281:
#0: ffff888023171098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b932e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by syz-executor.5/26226:
#0: ffff888147580c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_object_handle_put_unlocked+0x90/0x320 drivers/gpu/drm/drm_gem.c:230
3 locks held by syz-executor.3/26230:
#0: ffff8880424743d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff888147580c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
#2: ffff88807eebb298 (&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.4/26355:
#0: ffff888043d8f3d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff888147580c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
2 locks held by syz-executor.5/26578:
#0: ffff8881471243d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff888147580c70 (&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 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4712 Comm: kworker/u4:10 Not tainted 5.16.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy12 ieee80211_iface_work
RIP: 0010:sdata_unlock net/mac80211/ieee80211_i.h:1020 [inline]
RIP: 0010:ieee80211_ibss_rx_queued_mgmt+0xaa2/0x3150 net/mac80211/ibss.c:1673
Code: 84 db 0f 84 3b 1e 00 00 e8 2b 58 e3 f8 e8 b6 c8 cf f8 e8 21 58 e3 f8 48 c7 c6 00 3a 94 88 48 c7 c7 a0 3d b8 8b e8 9e 70 c8 f8 <e8> 09 58 e3 f8 48 8b bd c8 fe ff ff e8 6d 8f b1 00 48 b8 00 00 00
RSP: 0018:ffffc90004707ae0 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffff8880282318c0 RCX: 1ffffffff1ff3a1e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004707ca8 R08: 0000000000000000 R09: ffffffff8ff76a67
R10: 0000000000000001 R11: 000000000008808a R12: ffff88801e4e0050
R13: ffff88806b388c80 R14: 0005d41ac0898dc2 R15: 000000000000004c
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f832510 CR3: 0000000019139000 CR4: 00000000003506e0
Call Trace:
<TASK>
ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline]
ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1522
process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298
worker_thread+0x65d/0x1130 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: 84 db test %bl,%bl
2: 0f 84 3b 1e 00 00 je 0x1e43
8: e8 2b 58 e3 f8 callq 0xf8e35838
d: e8 b6 c8 cf f8 callq 0xf8cfc8c8
12: e8 21 58 e3 f8 callq 0xf8e35838
17: 48 c7 c6 00 3a 94 88 mov $0xffffffff88943a00,%rsi
1e: 48 c7 c7 a0 3d b8 8b mov $0xffffffff8bb83da0,%rdi
25: e8 9e 70 c8 f8 callq 0xf8c870c8
* 2a: e8 09 58 e3 f8 callq 0xf8e35838 <-- trapping instruction
2f: 48 8b bd c8 fe ff ff mov -0x138(%rbp),%rdi
36: e8 6d 8f b1 00 callq 0xb18fa8
3b: 48 rex.W
3c: b8 .byte 0xb8
3d: 00 00 add %al,(%rax)