INFO: task syz.3.2110:17247 blocked for more than 143 seconds.
Not tainted 6.16.0-rc2-syzkaller-00378-gb67ec639010f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.2110 state:D
stack:28904 pid:17247 tgid:17243 ppid:16345 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x16f5/0x4d00 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6878
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747
bdev_open+0xe0/0xd30 block/bdev.c:945
bdev_file_open_by_dev+0x1be/0x240 block/bdev.c:1059
setup_bdev_super+0x5a/0x5b0 fs/super.c:1599
get_tree_bdev_flags+0x366/0x4d0 fs/super.c:1679
vfs_get_tree+0x8f/0x2b0 fs/super.c:1804
do_new_mount+0x24a/0xa40 fs/namespace.c:3885
do_mount fs/namespace.c:4222 [inline]
__do_sys_mount fs/namespace.c:4433 [inline]
__se_sys_mount+0x317/0x410 fs/namespace.c:4410
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f17abf8e929
RSP: 002b:00007f17ace18038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f17ac1b6080 RCX: 00007f17abf8e929
RDX: 0000200000000240 RSI: 0000200000000040 RDI: 00002000000001c0
RBP: 00007f17ac010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000002208080 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f17ac1b6080 R15: 00007ffd32e89ad8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e33ee60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e33ee60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e33ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
4 locks held by kworker/u8:10/3031:
2 locks held by getty/5597:
#0: ffff88814cbba0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
5 locks held by kworker/0:4/5847:
#0: ffff88801e6b3148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801e6b3148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc90004187bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90004187bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff888028c76198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
#2: ffff888028c76198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5863
#3: ffff8880465ee198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
#3: ffff8880465ee198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1004
#4: ffff888144e8b278 (&(&priv->bus_notifier)->rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x54/0x90 kernel/notifier.c:379
1 lock held by udevd/5986:
#0: ffff8880258ba358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945
2 locks held by syz.3.2110/17247:
#0: ffff88802a1fc0e0 (&type->s_umount_key#70/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 fs/super.c:345
#1: ffff8880258ba358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945
2 locks held by syz.6.3296/25405:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc2-syzkaller-00378-gb67ec639010f #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:307 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:470
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 25405 Comm: syz.6.3296 Not tainted 6.16.0-rc2-syzkaller-00378-gb67ec639010f #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:hlock_class kernel/locking/lockdep.c:234 [inline]
RIP: 0010:mark_lock+0x3c/0x190 kernel/locking/lockdep.c:4734
Code: 00 03 00 83 f9 01 bb 09 00 00 00 83 db 00 83 fa 08 0f 45 da bd 01 00 00 00 89 d9 d3 e5 25 ff 1f 00 00 48 0f a3 05 e4 61 29 12 <73> 10 48 69 c0 c8 00 00 00 48 8d 88 30 f3 68 93 eb 48 83 3d 2b f1
RSP: 0018:ffffc90012dbeb48 EFLAGS: 00000003
RAX: 00000000000005c2 RBX: 0000000000000003 RCX: 0000000000000003
RDX: 0000000000000003 RSI: ffff8880737128f0 RDI: ffff888073711e00
RBP: 0000000000000008 R08: ffffffff8fc22df7 R09: 1ffffffff1f845be
R10: dffffc0000000000 R11: fffffbfff1f845bf R12: ffff8880737128f0
R13: 1ffff920025b7d7c R14: ffff8880737128f0 R15: 0000000000000000
FS: 00007fa93ac446c0(0000) GS:ffff888125b1c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f86f21a1d58 CR3: 0000000064aa4000 CR4: 00000000003526f0
DR0: 00000000000000d2 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks kernel/locking/lockdep.c:4328 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4346 [inline]
lockdep_hardirqs_on_prepare+0x129/0x2a0 kernel/locking/lockdep.c:4413
trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:78
memcg1_commit_charge+0x1cd/0x2b0 mm/memcontrol-v1.c:581
charge_memcg+0x10b/0x180 mm/memcontrol.c:4776
__mem_cgroup_charge+0x25/0x80 mm/memcontrol.c:4787
mem_cgroup_charge include/linux/memcontrol.h:652 [inline]
shmem_alloc_and_add_folio+0x7c1/0xf60 mm/shmem.c:1900
shmem_get_folio_gfp+0x59d/0x1660 mm/shmem.c:2532
shmem_get_folio mm/shmem.c:2638 [inline]
shmem_write_begin+0xf7/0x2b0 mm/shmem.c:3288
generic_perform_write+0x2c7/0x910 mm/filemap.c:4112
shmem_file_write_iter+0xf8/0x120 mm/shmem.c:3463
__kernel_write_iter+0x393/0x860 fs/read_write.c:619
dump_emit_page fs/coredump.c:1112 [inline]
dump_user_range+0x873/0xc70 fs/coredump.c:1186
elf_core_dump+0x32ed/0x3900 fs/binfmt_elf.c:2075
do_coredump+0x2806/0x3440 fs/coredump.c:950
get_signal+0x1109/0x1340 kernel/signal.c:3019
arch_do_signal_or_restart+0x9a/0x750 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:330 [inline]
irqentry_exit_to_user_mode+0x81/0x120 kernel/entry/common.c:184
exc_page_fault+0x9f/0xf0 arch/x86/mm/fault.c:1535
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fa939d8e931
Code: 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffc70 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fa939fb5fa0 RCX: 00007fa939d8e929
RDX: 0000000000000000 RSI: fffffffffffffc70 RDI: 0000000001022000
RBP: 00007fa939e10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fa939fb5fa0 R15: 00007ffc6250e2c8