INFO: task syz.2.2181:15983 blocked for more than 143 seconds.
Not tainted 6.12.0-rc1-syzkaller-00013-g669e995f70de #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.2181 state:D
stack:28128 pid:15983 tgid:15967 ppid:12399 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x105f/0x34b0 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6767
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
usbtmc_open+0x4bc/0x9b0 drivers/usb/class/usbtmc.c:189
usb_open+0x186/0x220 drivers/usb/core/file.c:47
chrdev_open+0x237/0x6a0 fs/char_dev.c:414
do_dentry_open+0x6cb/0x1390 fs/open.c:958
vfs_open+0x82/0x3f0 fs/open.c:1088
do_open fs/namei.c:3774 [inline]
path_openat+0x1e6a/0x2d60 fs/namei.c:3933
do_filp_open+0x1dc/0x430 fs/namei.c:3960
do_sys_openat2+0x17a/0x1e0 fs/open.c:1415
do_sys_open fs/open.c:1430 [inline]
__do_sys_openat fs/open.c:1446 [inline]
__se_sys_openat fs/open.c:1441 [inline]
__x64_sys_openat+0x175/0x210 fs/open.c:1441
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8d4aa7c990
RSP: 002b:00007f8d496d5b70 EFLAGS: 00000293
ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f8d4aa7c990
RDX: 0000000000000002 RSI: 00007f8d496d5c10 RDI: 00000000ffffff9c
RBP: 00007f8d496d5c10 R08: 0000000000000000 R09: 00007f8d496d5987
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8d4ac36058 R15: 00007fff221be948
Showing all locks held in the system:
2 locks held by kworker/u8:0/11:
#0:
ffff888100089148 (
(wq_completion)events_unbound){+.+.}-{0:0}
, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc900000bfd80
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
1 lock held by khungtaskd/30:
#0: ffffffff88ebb100
(rcu_read_lock){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720
2 locks held by getty/2607:
#0:
ffff88810aaf50a0 (
&tty->ldisc_sem){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900000432f0
(&ldata->atomic_read_lock){+.+.}-{3:3}
, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/2642:
6 locks held by kworker/0:4/4923:
#0: ffff888105adf548
((wq_completion)usb_hub_wq
){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1:
ffffc9000233fd80
((work_completion)(&hub->events)){+.+.}-{0:0}
, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffff888109f33190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1014 [inline]
, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849
#3:
ffff88811f6d1190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1014 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005
#4:
ffff888115a8f160
(&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:1014 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005
#5: ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_register_dev+0x11c/0x550 drivers/usb/core/file.c:134
5 locks held by kworker/1:4/4966:
2 locks held by kworker/u8:2/12394:
#0:
ffff888100089148 (
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1:
ffffc9000fad7d80
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
2 locks held by kworker/u8:4/12402:
2 locks held by kworker/u8:5/12408:
#0: ffff888100089148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1:
ffffc9000faa7d80
((work_completion)(&sub_info->work)){+.+.}-{0:0}
, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
1 lock held by syz.3.2180/15965:
#0:
ffff88810cfc9cd8
(
&data->io_mutex
){+.+.}-{3:3}
, at: usbtmc_write+0xc6/0xcc0 drivers/usb/class/usbtmc.c:1524
2 locks held by syz.2.2181/15983:
#0:
ffffffff899dadb0 (minor_rwsem
){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
#1: ffff88810cfc9cd8
(
&data->io_mutex
){+.+.}-{3:3}
, at: usbtmc_open+0x4bc/0x9b0 drivers/usb/class/usbtmc.c:189
2 locks held by syz.0.2191/15995:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
#1: ffff88810cfc9cd8
(&data->io_mutex){+.+.}-{3:3}
, at: usbtmc_open+0x4bc/0x9b0 drivers/usb/class/usbtmc.c:189
2 locks held by syz.0.2191/15998:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
#1: ffff88810cfc9cd8
(&data->io_mutex){+.+.}-{3:3}
, at: usbtmc_open+0x4bc/0x9b0 drivers/usb/class/usbtmc.c:189
1 lock held by syz.1.2200/16213:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.1.2200/16247:
#0: ffffffff899dadb0
(
minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.3.2219/17610:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.2.2225/17836:
#0: ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.2.2225/17861:
#0:
ffffffff899dadb0 (minor_rwsem
){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.0.2230/17922:
#0: ffffffff899dadb0
(
minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.1.2231/17927:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.4.2240/18462:
#0: ffffffff899dadb0
(
minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.4.2240/18467:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.3.2246/19126:
#0:
ffffffff899dadb0 (
minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.3.2246/19150:
#0: ffffffff899dadb0
(
minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.4.2241/20556:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.2.2272/20557:
#0: ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.2.2272/20559:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.0.2275/20589:
#0: ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.1.2281/20766:
#0:
ffffffff899dadb0 (
minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.1.2281/20772:
#0: ffffffff899dadb0
(
minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.1.2281/20774:
#0:
ffffffff899dadb0
(minor_rwsem){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by syz.3.2295/21141:
#0: ffffffff899dadb0
(minor_rwsem
){++++}-{3:3}
, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38
1 lock held by modprobe/21476:
1 lock held by modprobe/21481:
1 lock held by modprobe/21482:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00013-g669e995f70de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf0c/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
gspca_pac7302 3-1:0.183: URB error -71, resubmitting
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 21481 Comm: modprobe Not tainted 6.12.0-rc1-syzkaller-00013-g669e995f70de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x56/0x70 kernel/kcov.c:222
Code: 00 f0 00 75 35 8b 82 54 15 00 00 85 c0 74 2b 8b 82 30 15 00 00 83 f8 02 75 20 48 8b 8a 38 15 00 00 8b 92 34 15 00 00 48 8b 01 <48> 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 c3 cc cc cc cc 0f
RSP: 0000:ffffc900001b82d0 EFLAGS: 00000046
RAX: 00000000000334ba RBX: ffffffff8728c720 RCX: ffffc90001202000
RDX: 0000000000040000 RSI: ffffffff86e7791e RDI: 0000000000000007
RBP: ffffc900001b8468 R08: 0000000000000007 R09: 000000007fffffff
R10: 000000007fffffff R11: 00000000003fa380 R12: ffffc900001b8588
R13: ffffffff8728c720 R14: ffffc900001b83c0 R15: 000000007fffffff
FS: 0000000000000000(0000) GS:ffff8881f5900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0077db9ba8 CR3: 000000011585a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vsnprintf+0xae/0x1880 lib/vsprintf.c:2745
sprintf+0xcd/0x110 lib/vsprintf.c:3007
print_time kernel/printk/printk.c:1362 [inline]
info_print_prefix+0x25c/0x350 kernel/printk/printk.c:1388
record_print_text+0x141/0x400 kernel/printk/printk.c:1437
printk_get_next_message+0x2a6/0x670 kernel/printk/printk.c:2978
console_emit_next_record kernel/printk/printk.c:3046 [inline]
console_flush_all+0x6ec/0xc60 kernel/printk/printk.c:3180
__console_flush_and_unlock kernel/printk/printk.c:3239 [inline]
console_unlock+0xd9/0x210 kernel/printk/printk.c:3279
vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2407
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:68
_printk+0xc8/0x100 kernel/printk/printk.c:2432
int_irq+0x1b7/0x270 drivers/media/usb/gspca/gspca.c:104
__usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x17c3/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1772
handle_softirqs+0x206/0x8d0 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xac/0x110 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline]
RIP: 0010:unwind_next_frame+0x160d/0x20c0 arch/x86/kernel/unwind_orc.c:648
Code: 0f 84 6b ed ff ff 48 89 ef e8 ef df ff ff 49 8d 7d 40 48 89 fa 48 89 c5 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 84 82 f7 ff ff e8 28 d1 98 00 e9 78 f7 ff ff 48 8d 78 38 4c 89
RSP: 0000:ffffc900082b7618 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc900082b8000
RDX: 1ffff92001056ed9 RSI: ffffc900082b7a70 RDI: ffffc900082b76c8
RBP: ffff88811d261d38 R08: ffffc900082b76bc R09: ffffffff8aba9f1e
R10: ffffc900082b7688 R11: 000000000000a6ea R12: ffffc900082b76d8
R13: ffffc900082b7688 R14: ffffc900082b7a80 R15: ffffc900082b7a78
arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x37/0x50 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:2343 [inline]
slab_free mm/slub.c:4580 [inline]
kmem_cache_free+0x133/0x480 mm/slub.c:4682
anon_vma_chain_free mm/rmap.c:148 [inline]
unlink_anon_vmas+0x458/0x820 mm/rmap.c:448
free_pgtables+0x33c/0x950 mm/memory.c:409
exit_mmap+0x3d7/0xb30 mm/mmap.c:1875
__mmput kernel/fork.c:1347 [inline]
mmput+0xdb/0x3e0 kernel/fork.c:1369
exit_mm kernel/exit.c:571 [inline]
do_exit+0x9bf/0x2ce0 kernel/exit.c:926
do_group_exit+0xd3/0x2a0 kernel/exit.c:1088
__do_sys_exit_group kernel/exit.c:1099 [inline]
__se_sys_exit_group kernel/exit.c:1097 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1097
x64_sys_call+0x14a9/0x16a0 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4e47cf1a90
Code: Unable to access opcode bytes at 0x7f4e47cf1a66.
RSP: 002b:00007ffcf09deaf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f4e47de2860 RCX: 00007f4e47cf1a90
RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000001
RBP: 00007f4e47de2860 R08: 0000000000000001 R09: f676f5e0de6d5f5b
R10: 00007ffcf09de9b0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f4e47de6658 R15: 0000000000000001