INFO: task syz.2.8:5346 blocked for more than 159 seconds. Not tainted 6.12.0-rc2-syzkaller-00549-g01b6b9315f15 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.8 state:D stack:23808 pid:5346 tgid:5346 ppid:5234 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 pipe_release+0x48/0x320 fs/pipe.c:727 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feef3f7dff9 RSP: 002b:00007ffed81db148 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007feef4137a80 RCX: 00007feef3f7dff9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007feef4137a80 R08: 0000000000000006 R09: 00007ffed81db43f R10: 00000000005e63f8 R11: 0000000000000246 R12: 000000000000ec35 R13: 00007ffed81db250 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/4988: #0: ffff88802e6770a0 (&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/5234: 1 lock held by syz.2.8/5346: #0: ffff8880327ea068 (&pipe->mutex){+.+.}-{3:3}, at: pipe_release+0x48/0x320 fs/pipe.c:727 1 lock held by syz.2.8/5352: #0: ffff8880327ea068 (&pipe->mutex){+.+.}-{3:3}, at: splice_file_to_pipe+0x2e/0x500 fs/splice.c:1292 1 lock held by udevd/5395: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00549-g01b6b9315f15 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5234 Comm: syz-executor Not tainted 6.12.0-rc2-syzkaller-00549-g01b6b9315f15 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8e e8 cf df e1 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90003757700 EFLAGS: 00000046 RAX: 000000000000001f RBX: 00000000000007c3 RCX: ffffffff8170693b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942cc8f8 RBP: ffff88802d964730 R08: ffffffff942cc8ff R09: 1ffffffff285991f R10: dffffc0000000000 R11: fffffbfff2859920 R12: ffff88802d963c00 R13: ffff88802d9646d8 R14: 0000000000000000 R15: ffff88802d964750 FS: 00005555758a0500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb10230c538 CR3: 0000000029000000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xc8b/0x2050 kernel/locking/lockdep.c:5172 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] mod_objcg_state+0x142/0x930 mm/memcontrol.c:2689 __memcg_slab_post_alloc_hook+0x20f/0x7e0 mm/memcontrol.c:2990 memcg_slab_post_alloc_hook mm/slub.c:2156 [inline] slab_post_alloc_hook mm/slub.c:4095 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x1de/0x2a0 mm/slub.c:4141 __sigqueue_alloc+0x42e/0x540 kernel/signal.c:428 __send_signal_locked+0x22f/0xdc0 kernel/signal.c:1117 do_send_sig_info kernel/signal.c:1299 [inline] group_send_sig_info+0x292/0x310 kernel/signal.c:1449 bpf_send_signal_common+0x2dd/0x430 kernel/trace/bpf_trace.c:857 ____bpf_send_signal kernel/trace/bpf_trace.c:862 [inline] bpf_send_signal+0x19/0x30 kernel/trace/bpf_trace.c:860 bpf_prog_7ba5217f62dcd359+0x41/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2318 [inline] bpf_trace_run2+0x2ec/0x540 kernel/trace/bpf_trace.c:2359 trace_sys_enter+0x93/0xd0 include/trace/events/syscalls.h:18 syscall_trace_enter+0xf8/0x150 kernel/entry/common.c:61 syscall_enter_from_user_mode_work include/linux/entry-common.h:168 [inline] syscall_enter_from_user_mode include/linux/entry-common.h:198 [inline] do_syscall_64+0xcc/0x230 arch/x86/entry/common.c:79 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feef3f19959 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007ffed81dadc0 EFLAGS: 00000293 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007feef3f19959 RDX: 00007ffed81dadc0 RSI: 00007ffed81daef0 RDI: 0000000000000011 RBP: 00007ffed81db3ac R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000000ec66 R14: 000000000000e8f1 R15: 00007ffed81db400