INFO: task syz.0.17:4463 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17 state:D stack:28192 pid:4463 ppid:4271 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
schedule+0xb9/0x180 kernel/sched/core.c:6637
rwsem_down_write_slowpath+0xbed/0x1090 kernel/locking/rwsem.c:1189
inode_lock_nested include/linux/fs.h:793 [inline]
filename_create+0x1f2/0x450 fs/namei.c:3884
do_mkdirat+0x9d/0x430 fs/namei.c:4129
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd61d18de17
RSP: 002b:00007fd61df42e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fd61df42ef0 RCX: 00007fd61d18de17
RDX: 00000000000001ff RSI: 00002000000000c0 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000000c0
R13: 00007fd61df42eb0 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz.0.17:4465 blocked for more than 144 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17 state:D stack:27584 pid:4465 ppid:4271 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
schedule+0xb9/0x180 kernel/sched/core.c:6637
rwsem_down_write_slowpath+0xbed/0x1090 kernel/locking/rwsem.c:1189
inode_lock_nested include/linux/fs.h:793 [inline]
filename_create+0x1f2/0x450 fs/namei.c:3884
do_mkdirat+0x9d/0x430 fs/namei.c:4129
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd61d18f6c9
RSP: 002b:00007fd61afd3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fd61d3e6270 RCX: 00007fd61d18f6c9
RDX: 0000000000000000 RSI: 0000200000000340 RDI: ffffffffffffff9c
RBP: 00007fd61d211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd61d3e6308 R14: 00007fd61d3e6270 R15: 00007ffde6ee3108
Showing all locks held in the system:
3 locks held by kworker/0:0/7:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cb2b630 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cb2be50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/27:
#0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513
2 locks held by kworker/1:1/34:
#0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc90000ab7d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
3 locks held by kworker/u4:4/75:
1 lock held by dhcpcd/3933:
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x288/0x1af0 net/ipv4/devinet.c:1080
2 locks held by getty/4029:
#0: ffff88814d625098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198
1 lock held by syz-executor/4267:
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3492
3 locks held by kworker/1:3/4325:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc900048c7d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/1:4/4332:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc90004937d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#2: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962
5 locks held by kworker/u4:6/4354:
#0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc90004a7fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8dd34a10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594
#3: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe5/0xa50 net/core/dev.c:11489
#4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962
3 locks held by kworker/u4:7/4416:
#0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc900052d7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
3 locks held by ext4lazyinit/4451:
2 locks held by syz.0.17/4463:
#0: ffff888056e62460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:402
#1: ffff888053964a38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff888053964a38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1f2/0x450 fs/namei.c:3884
2 locks held by syz.0.17/4464:
2 locks held by syz.0.17/4465:
#0: ffff888056e62460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:402
#1: ffff888053964a38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff888053964a38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1f2/0x450 fs/namei.c:3884
1 lock held by syz-executor/4632:
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: netdev_wait_allrefs_any net/core/dev.c:10382 [inline]
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x668/0xd80 net/core/dev.c:10501
1 lock held by syz-executor/4685:
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6147
4 locks held by syz-executor/4773:
#0: ffff88807e1ea460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x256/0x960 fs/read_write.c:580
#1: ffff888057eb4088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e3/0x520 fs/kernfs/file.c:343
#2: ffff88802705be88 (kn->active#53){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff88802705be88 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x236/0x520 fs/kernfs/file.c:344
#3: ffffffff8d64cac8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xce/0x360 drivers/net/netdevsim/bus.c:209
7 locks held by syz-executor/4812:
#0: ffff88807e1ea460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x256/0x960 fs/read_write.c:580
#1: ffff888057eb4888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e3/0x520 fs/kernfs/file.c:343
#2: ffff88802705be88 (kn->active#53){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff88802705be88 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x236/0x520 fs/kernfs/file.c:344
#3: ffffffff8d64cac8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xce/0x360 drivers/net/netdevsim/bus.c:209
#4: ffff88801d2430e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline]
#4: ffff88801d2430e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline]
#4: ffff88801d2430e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb2/0x850 drivers/base/dd.c:1283
#5: ffff88802e8202f8 (&devlink->lock_key#8){+.+.}-{3:3}, at: nsim_drv_remove+0x54/0x160 drivers/net/netdevsim/dev.c:1677
#6: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdevice_notifier_net+0x8a/0x280 net/core/dev.c:1928
2 locks held by kworker/1:11/4820:
#0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc90003307d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
1 lock held by syz-executor/4884:
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6147
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xeee/0xf30 kernel/hung_task.c:377
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4464 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
RIP: 0010:lock_is_held_type+0x10d/0x190 kernel/locking/lockdep.c:5706
Code: 95 c0 31 ed 39 c1 40 0f 94 c5 eb 05 bd 01 00 00 00 48 c7 c7 00 17 8c 8a e8 60 12 00 00 b8 ff ff ff ff 65 0f c1 05 13 a4 ea 75 <83> f8 01 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02
RSP: 0018:ffffc9000548f778 EFLAGS: 00000057
RAX: 0000000000000001 RBX: ffff888025fdd940 RCX: 0dfbbae347217200
RDX: ffff888025fdd940 RSI: ffffffff8a8c1700 RDI: ffffffff8adef760
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff215c449
R10: fffffbfff215c449 R11: 1ffffffff215c448 R12: 0000000000000002
R13: 0000000000000246 R14: ffffffff8cb2aca0 R15: ffff888025fde470
FS: 00007fd61b3f66c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb274cc1e9c CR3: 000000002780f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
xa_entry include/linux/xarray.h:1198 [inline]
xas_descend+0x129/0x490 lib/xarray.c:204
xas_load+0xba/0x140 lib/xarray.c:242
mapping_get_entry mm/filemap.c:1881 [inline]
__filemap_get_folio+0x1bb/0xdd0 mm/filemap.c:1943
pagecache_get_page+0x26/0x250 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:646 [inline]
grow_dev_page fs/buffer.c:946 [inline]
grow_buffers fs/buffer.c:1011 [inline]
__getblk_slow fs/buffer.c:1038 [inline]
__getblk_gfp+0x2d8/0xb20 fs/buffer.c:1333
sb_getblk include/linux/buffer_head.h:356 [inline]
ext4_read_inode_bitmap+0x1e9/0x11f0 fs/ext4/ialloc.c:145
__ext4_new_inode+0xeff/0x3a20 fs/ext4/ialloc.c:1058
ext4_mkdir+0x3c1/0xc50 fs/ext4/namei.c:3066
vfs_mkdir+0x387/0x570 fs/namei.c:4114
do_mkdirat+0x1d0/0x430 fs/namei.c:4139
__do_sys_mkdirat fs/namei.c:4154 [inline]
__se_sys_mkdirat fs/namei.c:4152 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4152
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd61d18f6c9
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:00007fd61b3f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fd61d3e6180 RCX: 00007fd61d18f6c9
RDX: 0000000000000000 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007fd61d211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd61d3e6218 R14: 00007fd61d3e6180 R15: 00007ffde6ee3108