INFO: task syz.9.878:10098 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.878 state:D stack:23096 pid:10098 tgid:10097 ppid:8689 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 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 filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 page_cache_sync_readahead include/linux/pagemap.h:1394 [inline] filemap_get_pages+0x621/0x2540 mm/filemap.c:2547 filemap_splice_read+0x68e/0xef0 mm/filemap.c:2923 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x4af/0xc80 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x564/0x8a0 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1424 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410 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:0x7efccd37e819 RSP: 002b:00007efcce1a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007efccd535fa0 RCX: 00007efccd37e819 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007efccd3f175e R08: 0000000000000000 R09: 0000000000000000 R10: 000000000008a000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efccd535fa0 R15: 00007efccd65fa28 Showing all locks held in the system: 2 locks held by kworker/u8:1/12: 2 locks held by ksoftirqd/0/16: 1 lock held by khungtaskd/30: #0: ffffffff8e93c820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c820 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 5 locks held by kworker/u8:5/1087: 2 locks held by getty/5611: #0: ffff8880316e90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:4/5899: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004067d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004067d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8e941db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e941db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/0:5/5901: 1 lock held by syz.4.832/9969: 1 lock held by syz.9.878/10098: #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 1 lock held by syz-executor/10434: #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 1 lock held by syz-executor/10808: #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 1 lock held by syz.4.1044/11324: #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 1 lock held by syz.1.1059/11426: #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888148c97c40 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 1 lock held by syz-executor/11648: #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 1 lock held by syz-executor/11768: #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fce0c48 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 2 locks held by dhcpcd/12825: #0: ffff88805b49ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff88805b49ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline] #0: ffff88805b49ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1408 #1: ffffffff8e941db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e941db8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #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: 5212 Comm: klogd Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:__might_resched+0x2f8/0x780 kernel/sched/core.c:8760 Code: bb 11 48 29 c1 48 83 c1 9c 79 57 48 85 c0 74 52 48 c7 44 24 40 0e 36 e0 45 4a c7 04 3a 00 00 00 00 42 c7 44 3a 09 00 00 00 00 <66> 42 c7 44 3a 0d 00 00 42 c6 44 3a 0f 00 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc9000341fc40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000683f9c RCX: ffff88807e898000 RDX: dffffc0000000000 RSI: ffff88807e898000 RDI: ffffc9000341fce0 RBP: ffffc9000341fd60 R08: ffffffff81e50201 R09: 0000000000000000 R10: ffffc9000341fe40 R11: fffff52000683fcc R12: 0000000000000000 R13: ffff88807e898444 R14: 00000000000000a1 R15: 1ffff92000683f90 FS: 00007efc01d34380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe8fb96c48 CR3: 0000000034f6e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000400 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __might_fault+0x72/0x120 mm/memory.c:6713 rseq_get_rseq_cs kernel/rseq.c:161 [inline] rseq_ip_fixup kernel/rseq.c:281 [inline] __rseq_handle_notify_resume+0x120/0x14d0 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/rseq.h:38 [inline] resume_user_mode_work include/linux/resume_user_mode.h:62 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x115/0x340 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:0x7efc01e969b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd4518ecd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: 000000000000004e RBX: 0000000000000002 RCX: 00007efc01e969b5 RDX: 000000000000004e RSI: 0000557c104e77a0 RDI: 0000000000000003 RBP: 0000557c104e0910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007efc02024212 R14: 00007ffd4518edd8 R15: 0000000000000000