INFO: task syz.2.349:7702 blocked for more than 143 seconds. Not tainted 6.11.0-rc6-syzkaller-00048-gc7fb1692dc01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.349 state:D stack:21840 pid:7702 tgid:7702 ppid:7222 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 eventpoll_release include/linux/eventpoll.h:53 [inline] __fput+0x6e0/0x8a0 fs/file_table.c:413 task_work_run+0x251/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:0x7ff56477cef9 RSP: 002b:00007fff687b5918 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ff564937a80 RCX: 00007ff56477cef9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ff564937a80 R08: 0000000000000006 R09: 00007fff687b5c0f R10: 00000000005e1628 R11: 0000000000000246 R12: 00000000000579ad R13: 00007fff687b5a20 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 1 lock held by udevd/4679: 2 locks held by getty/4979: #0: ffff88802fe4f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/7147: 2 locks held by syz-executor/7699: 1 lock held by syz.2.349/7702: #0: ffff88807f2e6468 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 3 locks held by syz.2.349/7704: 1 lock held by syz-executor/7791: 1 lock held by udevd/7829: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc6-syzkaller-00048-gc7fb1692dc01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 7704 Comm: syz.2.349 Not tainted 6.11.0-rc6-syzkaller-00048-gc7fb1692dc01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x4a/0x70 kernel/kcov.c:222 Code: 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 <8b> 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 e9 f9 b3 RSP: 0018:ffffc90002fcf0d8 EFLAGS: 00000246 RAX: ffffffff836f81a9 RBX: 0000000000000000 RCX: ffff888020329e00 RDX: ffffc9000d97a000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90002fcf1e8 R08: ffffffff836f819c R09: 1ffffffff283c938 R10: dffffc0000000000 R11: fffffbfff283c939 R12: ffff88806c3be000 R13: ffff88806c3be448 R14: ffff8880580b07e0 R15: ffffea0001b11d80 FS: 00007ff5655bd6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008040 CR3: 000000005ccb8000 CR4: 0000000000350ef0 Call Trace: __sb_start_write include/linux/fs.h:1676 [inline] sb_start_pagefault include/linux/fs.h:1841 [inline] nilfs_page_mkwrite+0x2d9/0x1080 fs/nilfs2/file.c:57 do_page_mkwrite+0x19d/0x480 mm/memory.c:3142 wp_page_shared mm/memory.c:3545 [inline] do_wp_page+0x23d9/0x52f0 mm/memory.c:3695 handle_pte_fault+0x115a/0x6fc0 mm/memory.c:5537 __handle_mm_fault mm/memory.c:5664 [inline] handle_mm_fault+0x1109/0x1bc0 mm/memory.c:5832 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_nocheck_4+0x7/0x20 arch/x86/lib/putuser.S:97 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca e9 ae b7 39 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca e9 88 b7 39 00 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90002fcfb38 EFLAGS: 00050246 RAX: 0000000000000008 RBX: ffff888032257dec RCX: 0000000020008040 RDX: ffff888020329e00 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc90002fcfdb8 R08: ffffffff82232546 R09: 1ffff110067cc54b R10: dffffc0000000000 R11: ffffed10067cc54c R12: 0000000020008040 R13: 0000000000000000 R14: 0000000000000008 R15: 1ffff1100644afbd epoll_put_uevent include/linux/eventpoll.h:81 [inline] ep_send_events fs/eventpoll.c:1876 [inline] ep_poll fs/eventpoll.c:2005 [inline] do_epoll_wait+0xe3a/0x2040 fs/eventpoll.c:2464 do_epoll_pwait+0x56/0x1e0 fs/eventpoll.c:2498 __do_sys_epoll_pwait fs/eventpoll.c:2511 [inline] __se_sys_epoll_pwait fs/eventpoll.c:2505 [inline] __x64_sys_epoll_pwait+0x2b8/0x310 fs/eventpoll.c:2505 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:0x7ff56477cef9 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:00007ff5655bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 00007ff564935f80 RCX: 00007ff56477cef9 RDX: 0000000000000001 RSI: 0000000020008040 RDI: 0000000000000008 RBP: 00007ff5647ef01e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000401 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff564935f80 R15: 00007fff687b57b8