INFO: task syz.4.29:5860 blocked for more than 143 seconds.
Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.29 state:D stack:27424 pid:5860 tgid:5849 ppid:5482 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6767
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:850 [inline]
do_rmdir+0x263/0x580 fs/namei.c:4387
__do_sys_rmdir fs/namei.c:4418 [inline]
__se_sys_rmdir fs/namei.c:4416 [inline]
__x64_sys_rmdir+0x47/0x50 fs/namei.c:4416
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc08877dff9
RSP: 002b:00007fc0894df038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007fc088936130 RCX: 00007fc08877dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020002a80
RBP: 00007fc0887f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc088936130 R15: 00007ffcfaec05e8
INFO: task syz.4.29:5861 blocked for more than 144 seconds.
Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.29 state:D stack:25176 pid:5861 tgid:5849 ppid:5482 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6767
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:850 [inline]
filename_create+0x260/0x540 fs/namei.c:4026
do_mkdirat+0xbd/0x3a0 fs/namei.c:4272
__do_sys_mkdir fs/namei.c:4300 [inline]
__se_sys_mkdir fs/namei.c:4298 [inline]
__x64_sys_mkdir+0x6c/0x80 fs/namei.c:4298
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc08877dff9
RSP: 002b:00007fc0894be038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007fc088936208 RCX: 00007fc08877dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007fc0887f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc088936208 R15: 00007ffcfaec05e8
INFO: task syz.4.29:5862 blocked for more than 145 seconds.
Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.29 state:D stack:27424 pid:5862 tgid:5849 ppid:5482 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6767
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824
rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:825 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1748
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
__do_sys_chdir fs/open.c:561 [inline]
__se_sys_chdir+0xbc/0x220 fs/open.c:555
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc08877dff9
RSP: 002b:00007fc08949d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007fc0889362e0 RCX: 00007fc08877dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007fc0887f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fc0889362e0 R15: 00007ffcfaec05e8
INFO: task syz.4.29:5863 blocked for more than 145 seconds.
Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.29 state:D stack:25280 pid:5863 tgid:5849 ppid:5482 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6767
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:815 [inline]
open_last_lookups fs/namei.c:3691 [inline]
path_openat+0x89a/0x3590 fs/namei.c:3930
do_filp_open+0x235/0x490 fs/namei.c:3960
do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
do_sys_open fs/open.c:1430 [inline]
__do_sys_open fs/open.c:1438 [inline]
__se_sys_open fs/open.c:1434 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1434
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc08877dff9
RSP: 002b:00007fc0881ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fc0889363b8 RCX: 00007fc08877dff9
RDX: 0000000000000000 RSI: 0000000000064842 RDI: 00000000200005c0
RBP: 00007fc0887f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc0889363b8 R15: 00007ffcfaec05e8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/u8:5/1105:
2 locks held by getty/4977:
#0: ffff88803299a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by kworker/0:4/5271:
#0: ffff8880b863ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593
#1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989
2 locks held by syz-executor/5644:
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444
3 locks held by syz.4.29/5850:
1 lock held by syz.4.29/5859:
2 locks held by syz.4.29/5860:
#0: ffff888062d20420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4387
2 locks held by syz.4.29/5861:
#0: ffff888062d20420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026
1 lock held by syz.4.29/5862:
#0: ffff8880118e4180 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:825 [inline]
#0: ffff8880118e4180 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1748
2 locks held by syz.4.29/5863:
#0: ffff888062d20420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline]
#1: ffff8880118e4180 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x89a/0x3590 fs/namei.c:3930
2 locks held by syz-executor/6449:
#0: ffff8880698460e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880698460e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880698460e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6501:
#0: ffff888066b6a0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888066b6a0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888066b6a0e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444
1 lock held by syz.2.130/6617:
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
2 locks held by syz-executor/6904:
#0: ffff88802f6dc0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802f6dc0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802f6dc0e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444
1 lock held by syz.2.178/7023:
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807d61c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.196/7295:
#0: ffff888066b6a0e0 (&type->s_umount_key#85){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888066b6a0e0 (&type->s_umount_key#85){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #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+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5859 Comm: syz.4.29 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:123 [inline]
RIP: 0010:lock_acquire+0x180/0x550 kernel/locking/lockdep.c:5821
Code: 8d bc 24 80 00 00 00 4c 89 fb 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 ff e8 0d 25 8b 00 48 c7 84 24 80 00 00 00 00 00 00 00 9c <8f> 84 24 80 00 00 00 42 80 3c 2b 00 74 08 4c 89 ff e8 fa 23 8b 00
RSP: 0018:ffffc90004addb78 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 1ffff9200095bb80 RCX: ffffffff81704484
RDX: 0000000000000000 RSI: ffffffff8c602440 RDI: ffffffff8c602400
RBP: ffffc90004addcc8 R08: ffffffff901bb9ef R09: 1ffffffff203773d
R10: dffffc0000000000 R11: fffffbfff203773e R12: 1ffff9200095bb78
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc90004addc00
FS: 00007fc0895006c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5d84508178 CR3: 0000000059d7c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
__debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019
slab_free_hook mm/slub.c:2274 [inline]
slab_free mm/slub.c:4580 [inline]
kmem_cache_free+0x11f/0x420 mm/slub.c:4682
free_buffer_head+0x54/0x240 fs/buffer.c:3036
try_to_free_buffers+0x311/0x5f0 fs/buffer.c:2977
shrink_folio_list+0x23d1/0x8fe0 mm/vmscan.c:1432
shrink_inactive_list mm/vmscan.c:1959 [inline]
shrink_list mm/vmscan.c:2196 [inline]
shrink_lruvec+0x16d2/0x2f20 mm/vmscan.c:5709
shrink_node_memcgs mm/vmscan.c:5911 [inline]
shrink_node+0x12a4/0x2df0 mm/vmscan.c:5951
shrink_zones mm/vmscan.c:6195 [inline]
do_try_to_free_pages+0x69d/0x1b20 mm/vmscan.c:6257
try_to_free_mem_cgroup_pages+0x4ab/0xb20 mm/vmscan.c:6589
try_charge_memcg+0x8c2/0x1170 mm/memcontrol.c:2207
obj_cgroup_charge_pages+0x91/0x230 mm/memcontrol.c:2623
obj_cgroup_charge+0x380/0x5d0 mm/memcontrol.c:2914
__memcg_slab_post_alloc_hook+0x1b1/0x7e0 mm/memcontrol.c:2975
memcg_slab_post_alloc_hook mm/slub.c:2157 [inline]
slab_post_alloc_hook mm/slub.c:4096 [inline]
slab_alloc_node mm/slub.c:4135 [inline]
kmem_cache_alloc_noprof+0x1de/0x2a0 mm/slub.c:4142
alloc_buffer_head+0x2a/0x290 fs/buffer.c:3020
folio_alloc_buffers+0x2bc/0x660 fs/buffer.c:928
create_empty_buffers+0x3a/0x740 fs/buffer.c:1667
block_read_full_folio+0x25c/0xcd0 fs/buffer.c:2382
filemap_read_folio+0x14b/0x630 mm/filemap.c:2367
do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825
read_mapping_folio include/linux/pagemap.h:1011 [inline]
dir_get_folio fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x16a/0x4b0 fs/sysv/dir.c:154
sysv_inode_by_name+0x98/0x2a0 fs/sysv/dir.c:370
sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38
__lookup_slow+0x28c/0x3f0 fs/namei.c:1732
lookup_slow+0x53/0x70 fs/namei.c:1749
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
do_mount fs/namespace.c:3844 [inline]
__do_sys_mount fs/namespace.c:4055 [inline]
__se_sys_mount+0x297/0x3c0 fs/namespace.c:4032
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc08877dff9
Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc089500038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fc088936058 RCX: 00007fc08877dff9
RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000
RBP: 00007fc0887f0296 R08: 0000000020002200 R09: 0000000000000000
R10: 0000000000020804 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fc088936058 R15: 00007ffcfaec05e8