INFO: task syz.9.531:9878 blocked for more than 143 seconds. Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.531 state:D stack:27064 pid:9878 tgid:9846 ppid:8057 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:850 [inline] filename_create+0x260/0x540 fs/namei.c:4026 do_mknodat+0x18b/0x5b0 fs/namei.c:4172 __do_sys_mknod fs/namei.c:4218 [inline] __se_sys_mknod fs/namei.c:4216 [inline] __x64_sys_mknod+0x8c/0xa0 fs/namei.c:4216 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:0x7f579d37e719 RSP: 002b:00007f579e110038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f579d536058 RCX: 00007f579d37e719 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000020000400 RBP: 00007f579d3f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f579d536058 R15: 00007ffc7ba775e8 INFO: task syz.9.531:9882 blocked for more than 144 seconds. Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.531 state:D stack:25872 pid:9882 tgid:9846 ppid:8057 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:815 [inline] open_last_lookups fs/namei.c:3691 [inline] path_openat+0x89a/0x3590 fs/namei.c:3930 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_open fs/open.c:1438 [inline] __se_sys_open fs/open.c:1434 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1434 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:0x7f579d37e719 RSP: 002b:00007f579e0ef038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f579d536130 RCX: 00007f579d37e719 RDX: 0000000000000076 RSI: 0000000000143142 RDI: 0000000020000100 RBP: 00007f579d3f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f579d536130 R15: 00007ffc7ba775e8 INFO: task syz.9.531:9884 blocked for more than 144 seconds. Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.531 state:D stack:26616 pid:9884 tgid:9846 ppid:8057 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:815 [inline] open_last_lookups fs/namei.c:3691 [inline] path_openat+0x89a/0x3590 fs/namei.c:3930 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_open fs/open.c:1438 [inline] __se_sys_open fs/open.c:1434 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1434 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:0x7f579d37e719 RSP: 002b:00007f579e0ce038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f579d536208 RCX: 00007f579d37e719 RDX: 0000000000000000 RSI: 0000000000060142 RDI: 0000000020000000 RBP: 00007f579d3f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f579d536208 R15: 00007ffc7ba775e8 INFO: task syz.9.531:9895 blocked for more than 145 seconds. Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.531 state:D stack:25272 pid:9895 tgid:9846 ppid:8057 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 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:825 [inline] lookup_slow+0x45/0x70 fs/namei.c:1748 walk_component+0x2e1/0x410 fs/namei.c:2053 lookup_last fs/namei.c:2556 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2580 filename_lookup+0x256/0x610 fs/namei.c:2609 user_path_at+0x3a/0x60 fs/namei.c:3016 __do_sys_chdir fs/open.c:561 [inline] __se_sys_chdir+0xbc/0x220 fs/open.c:555 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:0x7f579d37e719 RSP: 002b:00007f579cdde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f579d536490 RCX: 00007f579d37e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f579d3f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f579d536490 R15: 00007ffc7ba775e8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/5588: #0: ffff88803585a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/9434: 1 lock held by syz.9.531/9848: 1 lock held by syz.9.531/9878: #0: ffff888055910c00 (&type->i_mutex_dir_key#26/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline] #0: ffff888055910c00 (&type->i_mutex_dir_key#26/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026 1 lock held by syz.9.531/9882: #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3} , at: inode_lock include/linux/fs.h:815 [inline] , at: open_last_lookups fs/namei.c:3691 [inline] , at: path_openat+0x89a/0x3590 fs/namei.c:3930 1 lock held by syz.9.531/9884: #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline] #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: path_openat+0x89a/0x3590 fs/namei.c:3930 1 lock held by syz.9.531/9895: #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:825 [inline] #0: ffff888055910c00 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1748 1 lock held by syz-executor/10761: 1 lock held by syz.2.733/11174: #0: ffffffff8e93d200 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4562 5 locks held by sed/11215: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #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: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: 9848 Comm: syz.9.531 Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:preempt_latency_start kernel/sched/core.c:5779 [inline] RIP: 0010:preempt_count_add+0xb1/0x190 kernel/sched/core.c:5802 Code: 8b 74 24 18 4c 89 f7 e8 bd 6c 0e 00 85 c0 74 0a 45 31 f6 31 ff e8 af 6c 0e 00 65 48 8b 1c 25 80 d7 03 00 48 81 c3 c8 14 00 00 <48> 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 69 47 98 00 RSP: 0018:ffffc900046dedb0 EFLAGS: 00000282 RAX: 0000000000000000 RBX: ffff88802c7b50c8 RCX: ffffffff8bc86400 RDX: dffffc0000000000 RSI: ffffffff820c8a15 RDI: ffffffff814156e0 RBP: ffffc900046deed8 R08: 000000000000001c R09: ffffc900046def90 R10: ffffc900046deef0 R11: ffffffff81809220 R12: dffffc0000000000 R13: ffffc900046deea0 R14: ffffffff814156e0 R15: dffffc0000000000 FS: 00007f579e1316c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab9133c440 CR3: 000000005b8c6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xb0/0x22d0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 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 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free mm/slub.c:4579 [inline] kfree+0x1a0/0x440 mm/slub.c:4727 free_slab_obj_exts mm/slub.c:2023 [inline] unaccount_slab mm/slub.c:2551 [inline] __free_slab+0xc2/0x240 mm/slub.c:2647 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 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: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 alloc_buffer_head+0x2a/0x290 fs/buffer.c:3020 folio_alloc_buffers+0x2bc/0x660 fs/buffer.c:928 create_empty_buffers+0x3a/0x740 fs/buffer.c:1667 block_read_full_folio+0x25c/0xcd0 fs/buffer.c:2382 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825 read_mapping_folio include/linux/pagemap.h:1011 [inline] dir_get_folio fs/sysv/dir.c:64 [inline] sysv_find_entry+0x16a/0x4b0 fs/sysv/dir.c:154 sysv_inode_by_name+0x98/0x2a0 fs/sysv/dir.c:370 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x28c/0x3f0 fs/namei.c:1732 lookup_slow+0x53/0x70 fs/namei.c:1749 walk_component+0x2e1/0x410 fs/namei.c:2053 lookup_last fs/namei.c:2556 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2580 filename_lookup+0x256/0x610 fs/namei.c:2609 user_path_at+0x3a/0x60 fs/namei.c:3016 do_fchownat+0xed/0x240 fs/open.c:818 __do_sys_lchown fs/open.c:849 [inline] __se_sys_lchown fs/open.c:847 [inline] __x64_sys_lchown+0x85/0xa0 fs/open.c:847 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:0x7f579d37e719 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:00007f579e131038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f579d535f80 RCX: 00007f579d37e719 RDX: 0000000000000000 RSI: 000000000000ee00 RDI: 0000000020000140 RBP: 00007f579d3f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f579d535f80 R15: 00007ffc7ba775e8