INFO: task syz.4.257:8186 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.257 state:D stack:27360 pid:8186 tgid:8168 ppid:5816 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 vfs_statx+0x103/0x490 fs/stat.c:344 vfs_fstatat fs/stat.c:366 [inline] vfs_stat include/linux/fs.h:3392 [inline] __do_sys_newstat fs/stat.c:503 [inline] __se_sys_newstat fs/stat.c:499 [inline] __x64_sys_newstat+0xf7/0x180 fs/stat.c:499 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:0x7f419a985d29 RSP: 002b:00007f419b77e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007f419ab76160 RCX: 00007f419a985d29 RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000020000340 RBP: 00007f419aa01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f419ab76160 R15: 00007ffe0cbd0a98 INFO: task syz.4.257:8188 blocked for more than 144 seconds. Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.257 state:D stack:27360 pid:8188 tgid:8168 ppid:5816 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3844 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4034 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:0x7f419a985d29 RSP: 002b:00007f419b75d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f419ab76240 RCX: 00007f419a985d29 RDX: 0000000020000080 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007f419aa01b08 R08: 00000000200005c0 R09: 0000000000000000 R10: 0000000000100000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f419ab76240 R15: 00007ffe0cbd0a98 Showing all locks held in the system: 2 locks held by kworker/u8:0/11: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 6 locks held by kworker/u8:8/3430: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000c4c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000c4c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fc94350 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffff8880606bd0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff8880606bd0e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff8880606bd0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff888021aa1250 (&devlink->lock_key#13){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff888021aa1250 (&devlink->lock_key#13){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff888021aa1250 (&devlink->lock_key#13){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:721 [inline] #5: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: nsim_create+0x408/0x890 drivers/net/netdevsim/netdev.c:793 4 locks held by udevd/5194: #0: ffff88805be74b08 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb4/0xd70 fs/seq_file.c:182 #1: ffff888027193c88 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff88814c8e9698 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88805e5b20e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88805e5b20e8 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2729 2 locks held by getty/5570: #0: ffff88803587a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:3/5830: 1 lock held by syz.4.257/8170: 1 lock held by syz.4.257/8185: 1 lock held by syz.4.257/8186: #0: ffff8880595e4180 (&type->i_mutex_dir_key#22){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff8880595e4180 (&type->i_mutex_dir_key#22){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.4.257/8188: #0: ffff8880595e4180 (&type->i_mutex_dir_key#22){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff8880595e4180 (&type->i_mutex_dir_key#22){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz-executor/8484: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/9492: #0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6928 7 locks held by syz-executor/9660: 1 lock held by syz-executor/9823: #0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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: 5194 Comm: udevd Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:___cache_free+0x4f/0xe0 mm/slub.c:4671 Code: 00 00 00 00 ea ff ff 48 8b 4c 10 08 f6 c1 01 0f 85 98 00 00 00 48 01 d0 66 90 0f b6 48 33 c1 e1 18 45 31 c0 81 f9 00 00 00 f5 <4c> 0f 44 c0 65 48 8b 05 c5 3a 0a 7e 49 8b 0f 48 8b 54 08 08 4c 39 RSP: 0018:ffffc90003e4f780 EFLAGS: 00000246 RAX: ffffea0001f969c0 RBX: ffff88807e5a7100 RCX: 00000000f5000000 RDX: ffffea0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 1ffff110170c88f8 R10: dffffc0000000000 R11: ffffed10170c88f9 R12: ffff88807e5a7100 R13: ffffea0000000000 R14: ffffffff8203615f R15: ffff88801ac41780 FS: 00007fd8af2bcc80(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558e5a7608 CR3: 000000007b5a0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] kmem_cache_alloc_node_noprof+0x1d9/0x380 mm/slub.c:4220 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:668 netlink_sendmsg+0x638/0xcb0 net/netlink/af_netlink.c:1866 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:726 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2669 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:0x7fd8aef24a4b Code: ff 89 ef 48 89 04 24 e8 22 56 f9 ff 48 8b 04 24 48 83 c4 20 5d c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 ae c3 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffdd7fbb998 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000055ff336c19e0 RCX: 00007fd8aef24a4b RDX: 0000000000000000 RSI: 00007ffdd7fbb9a8 RDI: 0000000000000004 RBP: 000055ff336ec080 R08: 0000000000000001 R09: 5d1c7883f7b27b0e R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000066 R14: 0000000000000000 R15: 0000000000000000