INFO: task syz-executor.5:8204 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27072 pid: 8204 ppid: 3628 flags:0x00004006
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
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
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7efe2c0d9e99
RSP: 002b:00007efe2aa4f218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007efe2c1ecf68 RCX: 00007efe2c0d9e99
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007efe2c1ecf68
RBP: 00007efe2c1ecf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007efe2c1ecf6c
R13: 00007ffd9377facf R14: 00007efe2aa4f300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by klogd/2958:
2 locks held by getty/3283:
#0: ffff88807f1ca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&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/8204:
#0: ffff88801854cc70 (&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.5/16349:
#0: ffff88802c0333d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x5e/0x550 drivers/gpu/drm/drm_prime.c:308
#1: ffff88801854cc70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x1b9/0x550 drivers/gpu/drm/drm_prime.c:316
#2: ffff88801dc60a98 (&shmem->pages_lock){+.+.}-{3:3}, at: drm_gem_shmem_get_pages+0x56/0x250 drivers/gpu/drm/drm_gem_shmem_helper.c:203
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc4-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: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
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6737 Comm: kworker/u4:7 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_tt_purge
RIP: 0010:mark_usage kernel/locking/lockdep.c:4496 [inline]
RIP: 0010:__lock_acquire+0x117a/0x54a0 kernel/locking/lockdep.c:4981
Code: c0 03 38 d0 7c 08 84 d2 0f 85 c7 3f 00 00 8b 05 ec b9 ef 0e 85 c0 0f 84 e1 01 00 00 31 ed e9 27 f3 ff ff 65 8b 05 6e 07 a6 7e <85> c0 0f 85 0e 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5c 24
RSP: 0018:ffffc90002cdfa68 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000007 RCX: ffffffff815c655d
RDX: 0000000000000002 RSI: 0000000000000008 RDI: ffff8880233227d1
RBP: ffff8880233227d2 R08: 0000000000000000 R09: ffffffff8ff74af7
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880233227b0
R13: ffff888023321d00 R14: ffff888023322760 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d2c435b908 CR3: 0000000074db8000 CR4: 0000000000350ee0
Call Trace:
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:354 [inline]
batadv_tt_global_purge net/batman-adv/translation-table.c:2280 [inline]
batadv_tt_purge+0x123/0xaf0 net/batman-adv/translation-table.c:3562
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), 2 bytes skipped:
0: 38 d0 cmp %dl,%al
2: 7c 08 jl 0xc
4: 84 d2 test %dl,%dl
6: 0f 85 c7 3f 00 00 jne 0x3fd3
c: 8b 05 ec b9 ef 0e mov 0xeefb9ec(%rip),%eax # 0xeefb9fe
12: 85 c0 test %eax,%eax
14: 0f 84 e1 01 00 00 je 0x1fb
1a: 31 ed xor %ebp,%ebp
1c: e9 27 f3 ff ff jmpq 0xfffff348
21: 65 8b 05 6e 07 a6 7e mov %gs:0x7ea6076e(%rip),%eax # 0x7ea60796
* 28: 85 c0 test %eax,%eax <-- trapping instruction
2a: 0f 85 0e 03 00 00 jne 0x33e
30: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
37: fc ff df
3a: 48 rex.W
3b: 8b .byte 0x8b
3c: 5c pop %rsp
3d: 24 .byte 0x24