INFO: task syz.4.174:7062 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.174 state:D stack:27392 pid:7062 tgid:7044 ppid:5847 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 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:828 [inline] lookup_slow+0x45/0x70 fs/namei.c:1807 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:0x7fa5fa17e819 RSP: 002b:00007fa5fae9a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa5fa336160 RCX: 00007fa5fa17e819 RDX: 0000000000000000 RSI: 0000000020001900 RDI: 0000000020000380 RBP: 00007fa5fa1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000021002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa5fa336160 R15: 00007ffe36560538 INFO: task syz.4.174:7065 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.174 state:D stack:27392 pid:7065 tgid:7044 ppid:5847 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 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:828 [inline] open_last_lookups fs/namei.c:3747 [inline] path_openat+0x88b/0x3590 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_open fs/open.c:1425 [inline] __se_sys_open fs/open.c:1421 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1421 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:0x7fa5fa17e819 RSP: 002b:00007fa5f7bf4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa5fa336240 RCX: 00007fa5fa17e819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200005c0 RBP: 00007fa5fa1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa5fa336240 R15: 00007ffe36560538 INFO: task syz.4.174:7078 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.174 state:D stack:26272 pid:7078 tgid:7044 ppid:5847 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 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 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:828 [inline] open_last_lookups fs/namei.c:3747 [inline] path_openat+0x88b/0x3590 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_open fs/open.c:1425 [inline] __se_sys_open fs/open.c:1421 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1421 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:0x7fa5fa17e819 RSP: 002b:00007fa5f77d1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa5fa336320 RCX: 00007fa5fa17e819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200005c0 RBP: 00007fa5fa1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa5fa336320 R15: 00007ffe36560538 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff88814e048148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814e048148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc6748 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196 1 lock held by khungtaskd/30: #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 6 locks held by kworker/u8:5/136: 2 locks held by kworker/u8:8/3489: 1 lock held by udevd/5210: 2 locks held by getty/5587: #0: ffff88802fe280a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900033132f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5838: #0: ffff88806481c0e0 (&type->s_umount_key#31){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806481c0e0 (&type->s_umount_key#31){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806481c0e0 (&type->s_umount_key#31){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ea00e68 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:829 1 lock held by syz-executor/6342: #0: ffffffff8e941df8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e941df8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 5 locks held by kworker/u8:9/6712: #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/0x1850 kernel/workqueue.c:3310 #1: ffffc9000b2d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000b2d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb9c10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:586 #3: ffffffff8fcc6748 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xe9/0xaa0 net/core/dev.c:12053 #4: ffffffff8e941df8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e941df8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by syz.4.174/7052: 1 lock held by syz.4.174/7062: #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.4.174/7065: #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: open_last_lookups fs/namei.c:3747 [inline] #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: path_openat+0x88b/0x3590 fs/namei.c:3984 1 lock held by syz.4.174/7078: #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: open_last_lookups fs/namei.c:3747 [inline] #0: ffff888078928180 (&type->i_mutex_dir_key#23){++++}-{4:4}, at: path_openat+0x88b/0x3590 fs/namei.c:3984 1 lock held by syz-executor/8214: #0: ffffffff8fcc6748 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcc6748 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6917 4 locks held by rm/8472: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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: 8472 Comm: rm Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:stack_trace_consume_entry+0xa7/0x280 kernel/stacktrace.c:93 Code: 41 0f b6 44 15 00 84 c0 0f 85 69 01 00 00 44 89 37 b0 01 e9 95 00 00 00 31 c0 e9 8e 00 00 00 48 89 d8 48 c1 e8 03 80 3c 10 00 <74> 26 4c 89 0c 24 48 89 df 49 89 f5 4d 89 c6 e8 a5 d1 7b 00 4d 89 RSP: 0018:ffffc90004d8f410 EFLAGS: 00000246 RAX: 1ffff920009b1ea8 RBX: ffffc90004d8f540 RCX: ffffffff917b4000 RDX: dffffc0000000000 RSI: ffffffff8212b9d7 RDI: ffffc90004d8f54c RBP: ffffc90004d8f548 R08: 0000000000000006 R09: ffffc90004d8f550 R10: ffffc90004d8f4b0 R11: ffffffff81810a60 R12: 1ffff920009b1ea9 R13: 1ffff920009b1ea9 R14: 0000000000000000 R15: 1ffff920009b1eaa FS: 00007f16f4a39380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f16f4c6a870 CR3: 000000007edaa000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 lsm_file_alloc security/security.c:733 [inline] security_file_alloc+0x32/0x310 security/security.c:2853 init_file+0x91/0x280 fs/file_table.c:156 alloc_empty_file+0xb8/0x1d0 fs/file_table.c:232 path_openat+0x107/0x3590 fs/namei.c:3973 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1428 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:0x7f16f4b8d9a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffc43223fe0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f16f4b8d9a4 RDX: 0000000000080000 RSI: 00007f16f4aaa707 RDI: 00000000ffffff9c RBP: 00007f16f4aaa707 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007f16f4aaa7fc R14: 0000000000000001 R15: 0000000000000000