INFO: task syz-executor.4:9947 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27968 pid:9947 tgid:9941 ppid:8702 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bfs_lookup+0x15c/0x2c0 fs/bfs/dir.c:136 lookup_open.isra.0+0x928/0x13c0 fs/namei.c:3475 open_last_lookups fs/namei.c:3566 [inline] path_openat+0x92f/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f81e987dea9 RSP: 002b:00007f81ea6870c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f81e99ac120 RCX: 00007f81e987dea9 RDX: 0000000000080200 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f81e98ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000080 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f81e99ac120 R15: 00007ffd8c641bd8 Showing all locks held in the system: 3 locks held by kworker/u8:0/10: 2 locks held by kworker/u8:2/28: 1 lock held by khungtaskd/30: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 7 locks held by kworker/u8:7/1094: 2 locks held by getty/4827: #0: ffff88802a69f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:12/8404: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc900035c7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffffffff8f2fff48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 2 locks held by syz-executor.4/9942: 3 locks held by syz-executor.4/9947: #0: ffff88805f9a2420 (sb_writers#16){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff88805f9a2420 (sb_writers#16){.+.+}-{0:0}, at: path_openat+0x1bd7/0x2990 fs/namei.c:3796 #1: ffff88805b439b30 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #1: ffff88805b439b30 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #1: ffff88805b439b30 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 #2: ffff888029aaf8d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0x15c/0x2c0 fs/bfs/dir.c:136 1 lock held by syz-executor.3/11540: 1 lock held by syz-executor.2/11572: #0: ffffffff8f2fff48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2fff48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/11585: #0: ffffffff8f2fff48 (rtnl_mutex){+.+.}-{3:3}, at: bpf_map_offload_map_alloc+0x12a/0x420 kernel/bpf/offload.c:532 5 locks held by syz-executor.4/11588: #0: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0x1b4/0x2e0 kernel/sched/psi.c:912 #3: ffffffff8d7b0d60 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #3: ffffffff8d7b0d60 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:873 [inline] #3: ffffffff8d7b0d60 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid include/linux/mmzone.h:2019 [inline] #3: ffffffff8d7b0d60 (rcu_read_lock_sched){....}-{1:2}, at: __virt_addr_valid+0x1a4/0x580 arch/x86/mm/physaddr.c:65 #4: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 1 lock held by syz-executor.1/11589: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9942 Comm: syz-executor.4 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_switch+0x3b/0x90 kernel/kcov.c:341 Code: 53 48 8b 46 08 48 83 f8 20 74 6b 77 48 48 83 f8 08 74 5b 48 83 f8 10 75 2f 41 bd 03 00 00 00 4c 8b 75 00 31 db 4d 85 f6 74 1e <48> 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 48 8b 4c 24 28 e8 8c RSP: 0018:ffffc90003b7f298 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000003 RCX: ffffffff813d1d91 RDX: ffff8880290a8000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffffff8b09cea0 R08: 0000000000000001 R09: 0000000000000004 R10: 0000000000000004 R11: 0000000000000002 R12: 0000000000000004 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc90003b7f37d FS: 00007f81ea6c96c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fadcfbffd80 CR3: 00000000675d0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x6c1/0x23a0 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3966 [inline] __kmalloc_node+0x226/0x480 mm/slub.c:3973 kmalloc_array_node include/linux/slab.h:726 [inline] kcalloc_node include/linux/slab.h:731 [inline] memcg_alloc_slab_cgroups+0xa9/0x180 mm/memcontrol.c:3015 __memcg_slab_post_alloc_hook+0xa3/0x370 mm/slub.c:1960 memcg_slab_post_alloc_hook mm/slub.c:1983 [inline] slab_post_alloc_hook mm/slub.c:3807 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc+0x310/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] alloc_buffer_head+0x21/0x160 fs/buffer.c:3001 folio_alloc_buffers+0x2c8/0x7d0 fs/buffer.c:924 grow_dev_folio fs/buffer.c:1067 [inline] grow_buffers fs/buffer.c:1108 [inline] __getblk_slow+0x27c/0x6a0 fs/buffer.c:1134 bdev_getblk+0xb1/0xc0 fs/buffer.c:1429 __bread_gfp+0xa9/0x370 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:321 [inline] bfs_find_entry.isra.0+0x310/0x430 fs/bfs/dir.c:333 bfs_lookup+0x1b9/0x2c0 fs/bfs/dir.c:137 __lookup_slow+0x24f/0x460 fs/namei.c:1692 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1916 [inline] __do_sys_umount fs/namespace.c:1924 [inline] __se_sys_umount fs/namespace.c:1922 [inline] __x64_sys_umount+0x10e/0x1a0 fs/namespace.c:1922 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f81e987dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f81ea6c90c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 00007f81e99abf80 RCX: 00007f81e987dea9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000020000580 RBP: 00007f81e98ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f81e99abf80 R15: 00007ffd8c641bd8