INFO: task syz.2.16:3363 blocked for more than 143 seconds. Not tainted 6.12.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.16 state:D stack:24176 pid:3363 tgid:3362 ppid:2960 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1718/0x29a0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xb1/0x270 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 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:870 [inline] page_cache_ra_unbounded+0x129/0x700 mm/readahead.c:226 filemap_readahead mm/filemap.c:2519 [inline] filemap_get_pages+0x81a/0x1ef0 mm/filemap.c:2564 filemap_splice_read+0x5d3/0xcd0 mm/filemap.c:2921 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x3b9/0xae0 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x233/0x350 fs/splice.c:1233 do_sendfile+0x4bb/0xc80 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1455 [inline] __se_sys_sendfile64+0x143/0x190 fs/read_write.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7d3d78e169 RSP: 002b:00007f7d3e548038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7d3d9b5fa0 RCX: 00007f7d3d78e169 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007f7d3d810a68 R08: 0000000000000000 R09: 0000000000000000 R10: 000400000000003f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7d3d9b5fa0 R15: 00007ffdcc86e968 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff87e80f80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff87e80f80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff87e80f80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/1491: #0: ffff88810cb2c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x60 drivers/tty/tty_ldisc.c:243 #1: ffffc900000632f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x40a/0x1250 drivers/tty/n_tty.c:2211 1 lock held by syz.2.16/3363: #0: ffff88811154e540 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ffff88811154e540 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x129/0x700 mm/readahead.c:226 1 lock held by syz.2.16/3365: #0: ffff88811154e540 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:860 [inline] #0: ffff88811154e540 (mapping.invalidate_lock#2){++++}-{4:4}, at: blkdev_fallocate+0x186/0x380 block/fops.c:808 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x198/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x353/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x104/0x210 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+0xb60/0xba0 kernel/hung_task.c:379 kthread+0x2e0/0x380 kernel/kthread.c:389 ret_from_fork+0x32/0x60 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: 12720 Comm: syz-executor Not tainted 6.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:tomoyo_realpath_from_path+0x151/0x4e0 security/tomoyo/realpath.c:257 Code: 24 50 74 08 48 89 df e8 ad 62 d5 fe 4d 89 fd 48 8b 1b 48 85 db 48 8b 0c 24 74 29 48 83 c3 48 48 89 d8 48 c1 e8 03 80 3c 28 00 <74> 0c 48 89 df e8 85 62 d5 fe 48 8b 0c 24 4c 8b 1b 4d 85 db 0f 85 RSP: 0018:ffffc90002ea7510 EFLAGS: 00000246 RAX: 1ffffffff0d2bb89 RBX: ffffffff8695dc48 RCX: ffff88817a236068 RDX: 0000000000001000 RSI: ffffffff86b9b380 RDI: ffffffff86b9b340 RBP: dffffc0000000000 R08: 0000000000000c40 R09: 00000000ffffffff R10: dffffc0000000000 R11: fffffbfff1158ab6 R12: 0000000000000fff R13: ffff888176b84000 R14: 0000000000001000 R15: ffff888176b84000 FS: 0000555584fe0500(0000) GS:ffff8881f5d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1518db5f00 CR3: 0000000162a88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x24a/0x450 security/tomoyo/file.c:771 security_file_open+0x41/0xd0 security/security.c:3107 do_dentry_open+0x2c1/0xf90 fs/open.c:945 vfs_open+0x36/0x290 fs/open.c:1088 do_open fs/namei.c:3774 [inline] path_openat+0x278f/0x2fc0 fs/namei.c:3933 do_filp_open+0x22b/0x440 fs/namei.c:3960 do_sys_openat2+0xf6/0x180 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x20d/0x260 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1518d8cad0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 49 94 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 9c 94 02 00 8b 44 RSP: 002b:00007ffd8e07ad30 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f1518d8cad0 RDX: 0000000000080001 RSI: 00007f1518e122a4 RDI: 00000000ffffff9c RBP: 00007f1518e122a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 00007ffd8e07add0 R14: 0000000000039171 R15: 00007ffd8e07b340