INFO: task syz.6.507:9948 blocked for more than 143 seconds.
Tainted: G W 6.17.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.507 state:D stack:28040 pid:9948 tgid:9946 ppid:8173 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x16f3/0x4c20 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339
rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline]
__rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline]
__rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760
rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800
__rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock_nested include/linux/fs.h:914 [inline]
lock_rename fs/namei.c:3272 [inline]
do_renameat2+0x3b9/0xa80 fs/namei.c:5224
__do_sys_rename fs/namei.c:5325 [inline]
__se_sys_rename fs/namei.c:5323 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5323
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:0x7fc5113aebe9
RSP: 002b:00007fc50f5f5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fc5115d6090 RCX: 00007fc5113aebe9
RDX: 0000000000000000 RSI: 0000200000000200 RDI: 0000200000000580
RBP: 00007fc511431e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc5115d6128 R14: 00007fc5115d6090 R15: 00007fff0a722188
Showing all locks held in the system:
2 locks held by kworker/u8:0/12:
1 lock held by khungtaskd/38:
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
4 locks held by kworker/u8:12/1452:
#0: ffff8881404b2938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline]
#0: ffff8881404b2938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319
#1: ffffc90005527bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
#1: ffffc90005527bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319
#2: ffff88802a0660d0 (&type->s_umount_key#84){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563
#3: ffff88805e4fbcc8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:102
4 locks held by kworker/u8:14/4468:
#0: ffff88801a6f4138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline]
#0: ffff88801a6f4138 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319
#1: ffffc9000f3afbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
#1: ffffc9000f3afbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319
#2: ffffffff8ecc4500 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800 net/core/net_namespace.c:658
#3: ffffffff8ecd13b8 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xdc/0x890 net/core/dev.c:12701
2 locks held by getty/5599:
#0: ffff88823bf460a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90003e762e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222
4 locks held by syz.6.507/9947:
2 locks held by syz.6.507/9948:
#0: ffff88802a066488 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805e4fc098 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:914 [inline]
#1: ffff88805e4fc098 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3272 [inline]
#1: ffff88805e4fc098 (&type->i_mutex_dir_key#20/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa80 fs/namei.c:5224
2 locks held by syz.8.594/10767:
#0: ffff88802a0660d0 (&type->s_umount_key#84){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline]
#0: ffff88802a0660d0 (&type->s_umount_key#84){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121
#1: ffff888142f66870 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff888142f66870 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19b/0xa50 fs/fs-writeback.c:2831
7 locks held by syz-executor/11179:
#0: ffff888035054488 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline]
#0: ffff888035054488 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xb40 fs/read_write.c:682
#1: ffff8880332cd878 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e1/0x4f0 fs/kernfs/file.c:325
#2: ffff888027247c38 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x204/0x4f0 fs/kernfs/file.c:326
#3: ffffffff8e5419d8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360 drivers/net/netdevsim/bus.c:234
#4: ffff88803a3f20d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline]
#4: ffff88803a3f20d8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1096 [inline]
#4: ffff88803a3f20d8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800 drivers/base/dd.c:1294
#5: ffff88803a3f3300 (&devlink->lock_key#3){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1721
#6: ffffffff8ecd13b8 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xe5/0x670 drivers/net/netdevsim/netdev.c:1131
3 locks held by syz-executor/11289:
2 locks held by syz-executor/11619:
#0: ffffffff8ecc4500 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0 net/core/net_namespace.c:566
#1: ffffffff8ecd13b8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock_killable include/linux/rtnetlink.h:145 [inline]
#1: ffffffff8ecd13b8 (rtnl_mutex){+.+.}-{4:4}, at: register_netdev+0x18/0x60 net/core/dev.c:11302
1 lock held by syz-executor/11621:
#0: ffffffff8ecd13b8 (rtnl_mutex){+.+.}-{4:4}, at: __tun_chr_ioctl+0x37d/0x1df0 drivers/net/tun.c:3075
2 locks held by syz.0.670/11687:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Tainted: G W 6.17.0-rc1-syzkaller #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:491
kthread+0x711/0x8a0 kernel/kthread.c:463
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: 11698 Comm: dhcpcd-run-hook Tainted: G W 6.17.0-rc1-syzkaller #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:check_preemption_disabled+0x12/0x120 lib/smp_processor_id.c:13
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 56 53 48 83 ec 10 65 48 8b 05 fe b4 ff 06 <48> 89 44 24 08 65 8b 05 06 b5 ff 06 65 8b 0d fb b4 ff 06 f7 c1 ff
RSP: 0018:ffffc90006367120 EFLAGS: 00000282
RAX: 44a0f4104aab7e00 RBX: ffffffff821320b7 RCX: ffff8880357a3b80
RDX: 0000000000000000 RSI: ffffffff8b6208e0 RDI: ffffffff8b6208a0
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8172b165
R10: ffffc90006367298 R11: ffffffff81aadf90 R12: 1ffff92000c6ce49
R13: ffffc90006367280 R14: ffffc90006367248 R15: ffffffff8172b165
FS: 00007f94a0097c80(0000) GS:ffff8881269c5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f94a03ff000 CR3: 000000006c574000 CR4: 00000000003526f0
Call Trace:
rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:751
rcu_read_lock include/linux/rcupdate.h:842 [inline]
class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0xd4/0x2390 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:330 [inline]
__kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:356
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4180 [inline]
kmem_cache_alloc_bulk_noprof+0x377/0x6f0 mm/slub.c:5411
mt_alloc_bulk lib/maple_tree.c:181 [inline]
mas_alloc_nodes+0x447/0x8e0 lib/maple_tree.c:1277
mas_node_count_gfp lib/maple_tree.c:1337 [inline]
mas_preallocate+0x3ad/0x6f0 lib/maple_tree.c:5537
vma_iter_prealloc mm/vma.h:462 [inline]
__split_vma+0x2fd/0x9e0 mm/vma.c:528
split_vma mm/vma.c:598 [inline]
vma_modify+0x1328/0x1880 mm/vma.c:1631
vma_modify_flags+0x1e8/0x230 mm/vma.c:1649
mprotect_fixup+0x407/0x9c0 mm/mprotect.c:819
do_mprotect_pkey+0x8cd/0xce0 mm/mprotect.c:993
__do_sys_mprotect mm/mprotect.c:1014 [inline]
__se_sys_mprotect mm/mprotect.c:1011 [inline]
__x64_sys_mprotect+0x80/0x90 mm/mprotect.c:1011
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:0x7f94a042e2c7
Code: 89 3d fd 3f 01 00 eb 90 0f 1f 00 f7 d8 89 05 f0 3f 01 00 48 c7 c0 ff ff ff ff eb 91 0f 1f 80 00 00 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d c9 3f 01 00 f7 d8 89 01 48 83
RSP: 002b:00007ffee0c2b038 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: ffffffffffffffda RBX: 00007f94a0441da0 RCX: 00007f94a042e2c7
RDX: 0000000000000001 RSI: 0000000000002000 RDI: 00007f94a043f000
RBP: 00007ffee0c2b300 R08: 000000003de00ec7 R09: 0000000000000000
R10: 00007f94a0172c58 R11: 0000000000000206 R12: fffffffffffffff8
R13: 0000016642cf2f0e R14: 0000000000000000 R15: 00007f94a0442310