INFO: task syz.4.167:7364 blocked for more than 143 seconds.
Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.167 state:D stack:25616 pid:7364 tgid:7357 ppid:6830 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x185a/0x4b70 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839
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:0x7f896a77e719
RSP: 002b:00007f896b571038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f896a936058 RCX: 00007f896a77e719
RDX: 0000000000000000 RSI: 0000000000000128 RDI: 0000000020001100
RBP: 00007f896a7f132e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f896a936058 R15: 00007ffc061a6198
INFO: task syz.4.167:7366 blocked for more than 144 seconds.
Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.167 state:D stack:27424 pid:7366 tgid:7357 ppid:6830 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x185a/0x4b70 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839
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_mknodat+0x18b/0x5b0 fs/namei.c:4172
__do_sys_mknod fs/namei.c:4218 [inline]
__se_sys_mknod fs/namei.c:4216 [inline]
__x64_sys_mknod+0x8c/0xa0 fs/namei.c:4216
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:0x7f896a77e719
RSP: 002b:00007f896b550038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f896a936130 RCX: 00007f896a77e719
RDX: 0000000000000004 RSI: 0000000000008000 RDI: 0000000020001080
RBP: 00007f896a7f132e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f896a936130 R15: 00007ffc061a6198
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
3 locks held by kworker/u8:0/11:
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90000107d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000107d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcc0c88 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
1 lock held by khungtaskd/30:
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
3 locks held by kworker/u8:3/52:
7 locks held by kworker/u8:9/3586:
1 lock held by udevd/5204:
2 locks held by getty/5585:
#0: ffff88803180b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:4/5910:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc9000411fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000411fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffff888061f55240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1488
1 lock held by syz.4.167/7358:
1 lock held by syz.4.167/7364:
#0: ffff88804f544180 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#0: ffff88804f544180 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026
1 lock held by syz.4.167/7366:
#0: ffff88804f544180 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#0: ffff88804f544180 (&type->i_mutex_dir_key#24/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026
1 lock held by udevd/7656:
#0: ffff88801baec148 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_dop_revalidate+0xd4/0x560 fs/kernfs/dir.c:1159
3 locks held by udevd/7659:
1 lock held by syz-executor/8911:
#0: ffffffff8fcc0c88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcc0c88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672
2 locks held by syz.4.325/8942:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #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: 8942 Comm: syz.4.325 Not tainted 6.12.0-rc4-syzkaller-00161-gae90f6a6170d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:kernel_text_address+0x5/0xe0 kernel/extable.c:95
Code: c2 20 ca 08 c2 0f b6 c2 5b c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 56 53 48 89 fb 48 c7 c0 00 00 00 81 bd 01 00 00 00 48 39 c7 72
RSP: 0018:ffffc900050ee160 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff82048a32 RCX: 0000000080000000
RDX: dffffc0000000000 RSI: ffffc900050e8000 RDI: ffffffff82048a32
RBP: ffffc900050ee230 R08: ffffc900050ef590 R09: 0000000000000000
R10: ffffc900050ee1f0 R11: fffff52000a1dc40 R12: ffff8880317e8000
R13: ffffffff81809070 R14: dffffc0000000000 R15: 1ffff92000a1dc3d
FS: 00007f2af0b386c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcbc62a3ff8 CR3: 000000006f578000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__kernel_text_address+0xd/0x40 kernel/extable.c:79
unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x76/0x430 mm/page_owner.c:297
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1108 [inline]
free_unref_folios+0xee2/0x18a0 mm/page_alloc.c:2686
shrink_folio_list+0x84c2/0x8fe0 mm/vmscan.c:1550
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+0x4b8/0xb10 mm/vmscan.c:6589
try_charge_memcg+0x8c2/0x1170 mm/memcontrol.c:2207
try_charge mm/memcontrol-v1.h:19 [inline]
charge_memcg+0xa6/0x1e0 mm/memcontrol.c:4468
__mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:4483
mem_cgroup_charge include/linux/memcontrol.h:694 [inline]
shmem_alloc_and_add_folio+0x8a1/0x13d0 mm/shmem.c:1818
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2330
shmem_get_folio mm/shmem.c:2436 [inline]
shmem_write_begin+0x17e/0x460 mm/shmem.c:3041
generic_perform_write+0x344/0x6d0 mm/filemap.c:4054
shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3216
new_sync_write fs/read_write.c:590 [inline]
vfs_write+0xa6d/0xc90 fs/read_write.c:683
ksys_write+0x183/0x2b0 fs/read_write.c:736
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:0x7f2aefd7d1ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48
RSP: 002b:00007f2af0b37df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f2aefd7d1ff
RDX: 0000000001000000 RSI: 00007f2ae5400000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000119ed
R10: 0000000020011a42 R11: 0000000000000293 R12: 0000000000000003
R13: 00007f2af0b37ef0 R14: 00007f2af0b37eb0 R15: 00007f2ae5400000