INFO: task syz-executor.4:18368 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.4 state:D stack:24112 pid:18368 ppid: 3641 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_handle_create+0x43/0x60 drivers/gpu/drm/drm_gem.c:431
drm_gem_shmem_create_with_handle+0x47/0xf0 drivers/gpu/drm/drm_gem_shmem_helper.c:431
drm_gem_shmem_dumb_create+0x246/0x360 drivers/gpu/drm/drm_gem_shmem_helper.c:539
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:0x7f6a0f0a8e99
RSP: 002b:00007f6a0da1e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6a0f1bbf60 RCX: 00007f6a0f0a8e99
RDX: 0000000020000080 RSI: 00000000c02064b2 RDI: 0000000000000005
RBP: 00007f6a0f103031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe09cfd99f R14: 00007f6a0da1e300 R15: 0000000000022000
INFO: task syz-executor.4:18374 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.4 state:D stack:28080 pid:18374 ppid: 3641 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:0x7f6a0f0a8e99
RSP: 002b:00007f6a0d9fd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6a0f1bc030 RCX: 00007f6a0f0a8e99
RDX: 00000000200004c0 RSI: 00000000c00c642e RDI: 0000000000000005
RBP: 00007f6a0f103031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe09cfd99f R14: 00007f6a0d9fd300 R15: 0000000000022000
INFO: task syz-executor.0:18369 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.0 state:D stack:23832 pid:18369 ppid: 4496 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:0x7fb2f6601e99
RSP: 002b:00007fb2f4f77168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb2f6714f60 RCX: 00007fb2f6601e99
RDX: 00000000200004c0 RSI: 00000000c00c642e RDI: 0000000000000005
RBP: 00007fb2f665c031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff4b6cefef R14: 00007fb2f4f77300 R15: 0000000000022000
INFO: task syz-executor.3:18395 blocked for more than 144 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26320 pid:18395 ppid: 4840 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_handle_create+0x43/0x60 drivers/gpu/drm/drm_gem.c:431
drm_gem_shmem_create_with_handle+0x47/0xf0 drivers/gpu/drm/drm_gem_shmem_helper.c:431
drm_gem_shmem_dumb_create+0x246/0x360 drivers/gpu/drm/drm_gem_shmem_helper.c:539
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:0x7fdc0ac7ee99
RSP: 002b:00007fdc095d3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fdc0ad92030 RCX: 00007fdc0ac7ee99
RDX: 0000000020000080 RSI: 00000000c02064b2 RDI: 0000000000000005
RBP: 00007fdc0acd9031 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6694fe2f R14: 00007fdc095d3300 R15: 0000000000022000
Showing all locks held in the system:
3 locks held by kworker/u4:0/8:
#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: ffff8880206d0d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline]
#2: ffff8880206d0d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x14f0 net/mac80211/ibss.c:1681
1 lock held by khungtaskd/26:
#0: ffffffff8cb1dd00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:5/1030:
2 locks held by getty/3283:
#0: ffff88814a57c098 (&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 syz-executor.2/18347:
#0: ffff888016db43d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x64/0x460 drivers/gpu/drm/drm_prime.c:308
#1: ffff888146648c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
#2: ffff8880735d8298 (&shmem->pages_lock){+.+.}-{3:3}, at: drm_gem_shmem_get_pages+0x58/0x210 drivers/gpu/drm/drm_gem_shmem_helper.c:203
1 lock held by syz-executor.4/18368:
#0: ffff888146648c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_handle_create+0x43/0x60 drivers/gpu/drm/drm_gem.c:431
2 locks held by syz-executor.4/18374:
#0: ffff888016db13d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x64/0x460 drivers/gpu/drm/drm_prime.c:308
#1: ffff888146648c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
2 locks held by syz-executor.0/18369:
#0: ffff88802455e3d8 (&prime_fpriv->lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x64/0x460 drivers/gpu/drm/drm_prime.c:308
#1: ffff888146648c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_prime_fd_to_handle+0x159/0x460 drivers/gpu/drm/drm_prime.c:316
1 lock held by syz-executor.3/18395:
#0: ffff888146648c70 (&dev->object_name_lock){+.+.}-{3:3}, at: drm_gem_handle_create+0x43/0x60 drivers/gpu/drm/drm_gem.c:431
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 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+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: 1136 Comm: kworker/1:2 Not tainted 5.16.0-rc4-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:__debug_check_no_obj_freed lib/debugobjects.c:981 [inline]
RIP: 0010:debug_check_no_obj_freed+0x155/0x650 lib/debugobjects.c:1023
Code: 48 ba 00 00 00 00 00 fc ff df 41 ff c5 48 8b 44 24 28 48 85 c0 0f 84 2a 04 00 00 49 89 c4 49 89 c6 49 c1 ee 03 41 80 3c 16 00 <74> 12 4c 89 e7 e8 41 34 b5 fd 48 ba 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffffc9000497fa28 EFLAGS: 00000046
RAX: ffff88806c7041f8 RBX: ffff88801bfb7d68 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffff8881445a1240 RDI: ffffc9000497f900
RBP: ffff88806c7048a0 R08: dffffc0000000000 R09: 0000000000000003
R10: fffff5200092ff21 R11: 0000000000000004 R12: ffff88806c7041f8
R13: 0000000000000001 R14: 1ffff1100d8e083f R15: 1ffff1100d8e0914
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0005d31a0 CR3: 000000000c88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
slab_free_hook mm/slub.c:1698 [inline]
slab_free_freelist_hook+0xcf/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3513 [inline]
kmem_cache_free+0xa4/0x180 mm/slub.c:3530
nsim_dev_trap_report drivers/net/netdevsim/dev.c:818 [inline]
nsim_dev_trap_report_work+0x7c6/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: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
7: fc ff df
a: 41 ff c5 inc %r13d
d: 48 8b 44 24 28 mov 0x28(%rsp),%rax
12: 48 85 c0 test %rax,%rax
15: 0f 84 2a 04 00 00 je 0x445
1b: 49 89 c4 mov %rax,%r12
1e: 49 89 c6 mov %rax,%r14
21: 49 c1 ee 03 shr $0x3,%r14
25: 41 80 3c 16 00 cmpb $0x0,(%r14,%rdx,1)
* 2a: 74 12 je 0x3e <-- trapping instruction
2c: 4c 89 e7 mov %r12,%rdi
2f: e8 41 34 b5 fd callq 0xfdb53475
34: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
3b: fc ff df
3e: 49 rex.WB
3f: 8b .byte 0x8b