INFO: task syz.2.3676:19746 blocked for more than 143 seconds.
Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3676 state:D stack:28792 pid:19746 tgid:19733 ppid:18654 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x168f/0x4c70 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x724/0xe80 kernel/locking/mutex.c:746
blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
sg_ioctl_common drivers/scsi/sg.c:1122 [inline]
sg_ioctl+0x47b/0x2230 drivers/scsi/sg.c:1156
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:892
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd00ff8e969
RSP: 002b:00007fd00d9f4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd0101b6240 RCX: 00007fd00ff8e969
RDX: 0000000000000000 RSI: 0000000000001276 RDI: 0000000000000007
RBP: 00007fd010010ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fd0101b6240 R15: 00007ffc6101e9d8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
3 locks held by acpid/5173:
4 locks held by udevd/5188:
2 locks held by getty/5570:
#0: ffff8880343180a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900030062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
5 locks held by kworker/1:6/5873:
#0: ffff888144682148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888144682148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc90004827c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90004827c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2: ffff888144b29198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#2: ffff888144b29198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5859
#3: ffff888078039198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#3: ffff888078039198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1004
#4: ffff8880529e5160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#4: ffff8880529e5160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1004
6 locks held by kworker/1:2/17661:
#0: ffff888144682148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888144682148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc9000ad37c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000ad37c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2: ffff888144b11198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#2: ffff888144b11198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5859
#3: ffff88807803c198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#3: ffff88807803c198 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0xf8/0x910 drivers/usb/core/hub.c:2307
#4: ffff8880529e0160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline]
#4: ffff8880529e0160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1094 [inline]
#4: ffff8880529e0160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x7c0 drivers/base/dd.c:1292
#5: ffff8880529e62c0 (&dev->mutex#2){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:201 [inline]
#5: ffff8880529e62c0 (&dev->mutex#2){+.+.}-{4:4}, at: input_disconnect_device drivers/input/input.c:702 [inline]
#5: ffff8880529e62c0 (&dev->mutex#2){+.+.}-{4:4}, at: __input_unregister_device+0x31/0x5e0 drivers/input/input.c:2219
2 locks held by syz.2.3676/19739:
#0: ffff8880247412d8 (&q->debugfs_mutex){+.+.}-{4:4}, at: blk_trace_remove kernel/trace/blktrace.c:406 [inline]
#0: ffff8880247412d8 (&q->debugfs_mutex){+.+.}-{4:4}, at: blk_trace_ioctl+0x1b9/0x430 kernel/trace/blktrace.c:745
#1: ffffffff8df8ee08 (relay_channels_mutex){+.+.}-{4:4}, at: relay_close+0x3b/0x690 kernel/relay.c:759
3 locks held by syz.2.3676/19743:
1 lock held by syz.2.3676/19746:
#0: ffff8880261d0918 (&q->debugfs_mutex){+.+.}-{4:4}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
2 locks held by udevd/20957:
#0: ffff888077e84118 (&evdev->mutex){+.+.}-{4:4}, at: evdev_open_device drivers/input/evdev.c:384 [inline]
#0: ffff888077e84118 (&evdev->mutex){+.+.}-{4:4}, at: evdev_open+0x2cf/0x5a0 drivers/input/evdev.c:478
#1: ffff8880529e62c0 (&dev->mutex#2){+.+.}-{4:4}, at: class_mutex_intr_constructor include/linux/mutex.h:203 [inline]
#1: ffff8880529e62c0 (&dev->mutex#2){+.+.}-{4:4}, at: input_open_device+0x53/0x360 drivers/input/input.c:582
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:437
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 21126 Comm: syz.3.4066 Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216
Code: 8b 3d ec e4 d5 0b 48 89 de 5b e9 33 3d 55 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 10 72 92 65 8b 15 b8 50 b2 10 81 e2 00 01 ff 00
RSP: 0018:ffffc9000e5a7348 EFLAGS: 00000212
RAX: ffffffff820ebe16 RBX: ffffea0001ab2880 RCX: ffff8881923e5a00
RDX: 0000000000000000 RSI: 000000000001275f RDI: 000000000006aca2
RBP: 0000000000000001 R08: ffffea0001ab2887 R09: 1ffffd4000356510
R10: dffffc0000000000 R11: fffff94000356511 R12: 000000000006aca2
R13: 000000000001275f R14: dffffc0000000000 R15: ffffea0001ab2880
FS: 0000000000000000(0000) GS:ffff8881260ff000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8b13544095 CR3: 000000005df6a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__folio_rmap_sanity_checks+0xb6/0x6e0 include/linux/rmap.h:414
__folio_remove_rmap mm/rmap.c:1694 [inline]
folio_remove_rmap_ptes+0x3b/0xaf0 mm/rmap.c:1804
zap_present_folio_ptes mm/memory.c:1525 [inline]
zap_present_ptes mm/memory.c:1586 [inline]
do_zap_pte_range mm/memory.c:1687 [inline]
zap_pte_range mm/memory.c:1731 [inline]
zap_pmd_range mm/memory.c:1823 [inline]
zap_pud_range mm/memory.c:1852 [inline]
zap_p4d_range mm/memory.c:1873 [inline]
unmap_page_range+0x17f2/0x4210 mm/memory.c:1894
unmap_vmas+0x25d/0x3c0 mm/memory.c:1984
exit_mmap+0x245/0xba0 mm/mmap.c:1284
__mmput+0x118/0x410 kernel/fork.c:1379
exit_mm+0x1da/0x2c0 kernel/exit.c:589
do_exit+0x859/0x2550 kernel/exit.c:940
do_group_exit+0x21c/0x2d0 kernel/exit.c:1102
get_signal+0x125e/0x1310 kernel/signal.c:3034
arch_do_signal_or_restart+0x95/0x780 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x8b/0x120 kernel/entry/common.c:218
do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f343178e969
Code: Unable to access opcode bytes at 0x7f343178e93f.
RSP: 002b:00007f34325dc0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f34319b5fa8 RCX: 00007f343178e969
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f34319b5fa8
RBP: 00007f34319b5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f34319b5fac
R13: 0000000000000000 R14: 00007ffc5cc3f790 R15: 00007ffc5cc3f878