INFO: task syz-executor.2:4770 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.2 state:D stack:26768 pid: 4770 ppid: 3639 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
drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
drm_ioctl_kernel+0x355/0x4e0 drivers/gpu/drm/drm_ioctl.c:782
drm_ioctl+0x617/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+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:0x7f6dc3dfae99
RSP: 002b:00007f6dc2770168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6dc3f0df60 RCX: 00007f6dc3dfae99
RDX: 00000000200004c0 RSI: 00000000c00c642e RDI: 0000000000000004
RBP: 00007f6dc3e54ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff12ff6aff R14: 00007f6dc2770300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1de40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3282:
#0: ffff88814b024098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
3 locks held by kworker/u4:6/3716:
#0: ffff8880b9b395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478
#1: ffff8880b9b27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880
#2: ffff8880b9b280d8 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x6d3/0xd20 kernel/time/timer.c:1043
3 locks held by syz-executor.3/4645:
#0: ffff88802e2c53d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x64/0x460 drivers/gpu/drm/drm_prime.c:308
#1: ffff888018d6cc70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
#2: ffff88807697ba98 (&shmem->pages_lock){+.+.}-{3:3}, at: drm_gem_shmem_get_pages+0x58/0x210 drivers/gpu/drm/drm_gem_shmem_helper.c:203
2 locks held by syz-executor.2/4770:
#0: ffff88807ac8a3d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x64/0x460 drivers/gpu/drm/drm_prime.c:308
#1: ffff888018d6cc70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
=============================================
NMI backtrace for cpu 0
CPU: 0 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:
__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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 14426 Comm: kworker/1:9 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:rb_add_cached include/linux/rbtree.h:174 [inline]
RIP: 0010:__enqueue_entity kernel/sched/fair.c:588 [inline]
RIP: 0010:enqueue_entity+0x80d/0x12e0 kernel/sched/fair.c:4269
Code: 49 8d 7d 40 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 05 e8 7d 7b 72 00 48 8b 5c 24 28 49 2b 5c 24 40 <49> 8d 44 24 10 4d 8d 74 24 08 48 89 d9 48 c1 e9 3f 48 85 db 48 8d
RSP: 0018:ffffc90000dc0938 EFLAGS: 00000087
RAX: 1ffff1100fa3001a RBX: fffffffffff53f69 RCX: dffffc0000000000
RDX: ffffffff8c9e4120 RSI: ffff8880b9b3a0d8 RDI: ffff88807d1800d0
RBP: 1ffff11003fea013 R08: ffffffff813d675f R09: fffffbfff1bfd2c6
R10: fffffbfff1bfd2c6 R11: 0000000000000000 R12: ffff88807d180090
R13: ffff88807d180090 R14: ffff88801ff50098 R15: ffff8880b9b39600
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fbe8fb3600 CR3: 000000000c88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
enqueue_task_fair+0x3a3/0x1c10 kernel/sched/fair.c:5588
enqueue_task+0x17f/0x3d0 kernel/sched/core.c:1999
activate_task kernel/sched/core.c:2024 [inline]
ttwu_do_activate+0x187/0x330 kernel/sched/core.c:3600
ttwu_queue+0x185/0x320 kernel/sched/core.c:3796
try_to_wake_up+0x6ee/0xd20 kernel/sched/core.c:4119
autoremove_wake_function+0x12/0x110 kernel/sched/wait.c:416
__wake_up_common+0x2aa/0x4e0 kernel/sched/wait.c:108
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x115/0x1c0 kernel/sched/wait.c:157
irq_work_single+0xd3/0x240 kernel/irq_work.c:211
irq_work_run_list kernel/irq_work.c:242 [inline]
irq_work_run+0x189/0x350 kernel/irq_work.c:251
__sysvec_irq_work+0x62/0x70 arch/x86/kernel/irq_work.c:22
sysvec_irq_work+0x8c/0xb0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x12/0x20
RIP: 0010:default_send_IPI_self+0x6a/0xc0 arch/x86/kernel/apic/ipi.c:243
Code: 00 c3 5f ff e8 77 e5 97 00 0f 1f 80 00 00 00 00 f7 04 25 00 c3 5f ff 00 10 00 00 75 d3 81 cd 00 00 04 00 89 2c 25 00 c3 5f ff <5b> 5d c3 48 c7 c0 e0 da 5b 8c 48 c1 e8 03 48 bd 00 00 00 00 00 fc
RSP: 0018:ffffc90002c4f760 EFLAGS: 00000206
RAX: 1ffffffff18b7b00 RBX: fffffbffffebf860 RCX: ffffffff812f4b9b
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000000000f6
RBP: 00000000000400f6 R08: dffffc0000000000 R09: fffffbfff1bfd1cf
R10: fffffbfff1bfd1cf R11: 0000000000000000 R12: ffffffff8cbf7668
R13: 00000000000000e8 R14: dffffc0000000000 R15: 0000000000000020
arch_irq_work_raise+0x93/0xe0 arch/x86/kernel/irq_work.c:31
irq_work_queue+0x91/0x120 kernel/irq_work.c:114
__kfence_alloc+0x1f0/0xba0 mm/kfence/core.c:884
kfence_alloc include/linux/kfence.h:126 [inline]
slab_alloc_node mm/slub.c:3152 [inline]
kmem_cache_alloc_node+0x362/0x370 mm/slub.c:3270
__alloc_skb+0xd8/0x5a0 net/core/skbuff.c:414
alloc_skb include/linux/skbuff.h:1126 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:745 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline]
nsim_dev_trap_report_work+0x264/0xaf0 drivers/net/netdevsim/dev.c:843
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: 49 8d 7d 40 lea 0x40(%r13),%rdi
4: 48 89 f8 mov %rdi,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
12: fc ff df
15: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
19: 74 05 je 0x20
1b: e8 7d 7b 72 00 callq 0x727b9d
20: 48 8b 5c 24 28 mov 0x28(%rsp),%rbx
25: 49 2b 5c 24 40 sub 0x40(%r12),%rbx
* 2a: 49 8d 44 24 10 lea 0x10(%r12),%rax <-- trapping instruction
2f: 4d 8d 74 24 08 lea 0x8(%r12),%r14
34: 48 89 d9 mov %rbx,%rcx
37: 48 c1 e9 3f shr $0x3f,%rcx
3b: 48 85 db test %rbx,%rbx
3e: 48 rex.W
3f: 8d .byte 0x8d