INFO: task syz-executor.2:8407 blocked for more than 143 seconds.
Not tainted 5.15.156-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28432 pid: 8407 ppid: 6826 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165
inode_lock_nested include/linux/fs.h:824 [inline]
filename_create+0x25c/0x530 fs/namei.c:3835
do_mkdirat+0xb3/0x520 fs/namei.c:4080
__do_sys_mkdirat fs/namei.c:4105 [inline]
__se_sys_mkdirat fs/namei.c:4103 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb8b04909a7
RSP: 002b:00007fb8ae9c1ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fb8ae9c1f80 RCX: 00007fb8b04909a7
RDX: 00000000000001ff RSI: 0000000020000100 RDI: 00000000ffffff9c
RBP: 0000000020000000 R08: 0000000020000000 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000020000100
R13: 00007fb8ae9c1f40 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:4/459:
2 locks held by getty/3259:
#0: ffff888025465098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000209b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
1 lock held by syz-executor.1/3516:
#0: ffff8880b9a3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
2 locks held by syz-executor.4/5912:
#0: ffff88801b71d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912
#1: ffff88801b70d468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
3 locks held by syz-executor.2/8402:
2 locks held by syz-executor.2/8407:
#0: ffff88807d134460 (sb_writers#33){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff888055a54168 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff888055a54168 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
7 locks held by kworker/1:13/9673:
6 locks held by kworker/1:17/9677:
#0: ffff888016de9d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90003ab7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff88801ed64220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff88801ed64220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5768
#3: ffff88801ed665c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3125 [inline]
#3: ffff88801ed665c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5350 [inline]
#3: ffff88801ed665c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5594 [inline]
#3: ffff88801ed665c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline]
#3: ffff88801ed665c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2238/0x54c0 drivers/usb/core/hub.c:5822
#4: ffff88801d4cf368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5351 [inline]
#4: ffff88801d4cf368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5594 [inline]
#4: ffff88801d4cf368 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline]
#4: ffff88801d4cf368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2260/0x54c0 drivers/usb/core/hub.c:5822
#5: ffff8880b9a3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
2 locks held by syz-executor.0/10155:
2 locks held by syz-executor.0/10163:
#0: ffff88807c20a460 (sb_writers#33){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88805f370690 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88805f370690 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
1 lock held by syz-executor.0/10164:
#0: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline]
#0: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679
1 lock held by syz-executor.0/10165:
#0: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline]
#0: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679
2 locks held by syz-executor.0/10166:
#0: ffff88807c20a460 (sb_writers#33){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline]
#1: ffff88805f370690 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739
2 locks held by syz-executor.0/11145:
2 locks held by syz-executor.3/11169:
#0: ffff88801b718918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912
#1: ffff88801b70a468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11169 Comm: syz-executor.3 Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:rdtsc_ordered arch/x86/include/asm/msr.h:224 [inline]
RIP: 0010:read_tsc+0x0/0x10 arch/x86/kernel/tsc.c:1095
Code: 76 f8 fb 02 48 8d bc 24 80 00 00 00 48 be 00 00 00 00 00 fc ff df e9 53 fd ff ff e8 aa 1f ef 08 66 2e 0f 1f 84 00 00 00 00 00 <0f> 01 f9 66 90 48 c1 e2 20 48 09 d0 c3 0f 1f 00 48 c7 c0 4c 30 e4
RSP: 0018:ffffc90000dd0e50 EFLAGS: 00000046
RAX: 1ffffffff18ebd68 RBX: ffffffff8c75eb40 RCX: ffff888025579dc0
RDX: 0000000080010002 RSI: 0000000000000000 RDI: ffffffff8c75eb40
RBP: ffff8880b9b2a250 R08: ffffffff81700bfd R09: fffffbfff1bc8b5e
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000011eb0
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff8880b9b27258
FS: 00007fcb81d916c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcf661a4d58 CR3: 000000007b90f000 CR4: 00000000003526e0
DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
tk_clock_read kernel/time/timekeeping.c:195 [inline]
timekeeping_get_delta kernel/time/timekeeping.c:255 [inline]
timekeeping_get_ns kernel/time/timekeeping.c:388 [inline]
ktime_get_update_offsets_now+0xe9/0x420 kernel/time/timekeeping.c:2303
hrtimer_update_base kernel/time/hrtimer.c:631 [inline]
hrtimer_interrupt+0x12f/0x980 kernel/time/hrtimer.c:1794
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909
Code: 0f 84 75 ff ff ff e8 54 12 1a 00 fb 31 db eb 48 e8 4a 12 1a 00 e8 15 53 b7 08 4d 85 ed 74 cd e8 3b 12 1a 00 fb bb 01 00 00 00 <48> c7 c7 c0 c3 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc900035674a0 EFLAGS: 00000287
RAX: ffffffff81664aa5 RBX: 0000000000000001 RCX: 0000000000040000
RDX: ffffc90004331000 RSI: 0000000000025cfb RDI: 0000000000025cfc
RBP: ffffc90003567570 R08: ffffffff81664a5e R09: fffffbfff1f7ec3c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006ace94
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2273
_printk+0xd1/0x120 kernel/printk/printk.c:2299
device_list_add+0x1450/0x1e20 fs/btrfs/volumes.c:920
btrfs_scan_one_device+0x436/0x690 fs/btrfs/volumes.c:1445
btrfs_mount_root+0x4b4/0x930 fs/btrfs/super.c:1716
legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
vfs_get_tree+0x88/0x270 fs/super.c:1517
fc_mount fs/namespace.c:1000 [inline]
vfs_kern_mount+0xb8/0x150 fs/namespace.c:1030
btrfs_mount+0x395/0xb40 fs/btrfs/super.c:1812
legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
vfs_get_tree+0x88/0x270 fs/super.c:1517
do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
do_mount fs/namespace.c:3348 [inline]
__do_sys_mount fs/namespace.c:3556 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fcb838205aa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcb81d90ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fcb81d90f80 RCX: 00007fcb838205aa
RDX: 0000000020000040 RSI: 0000000020005600 RDI: 00007fcb81d90f40
RBP: 0000000020000040 R08: 00007fcb81d90f80 R09: 0000000000010001
R10: 0000000000010001 R11: 0000000000000202 R12: 0000000020005600
R13: 00007fcb81d90f40 R14: 000000000000559e R15: 0000000020000500