syzbot


kernel panic: stack is corrupted in rt_spin_lock

Status: moderation: reported on 2025/08/10 20:04
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+c02effcfcba04e3d6234@syzkaller.appspotmail.com
First crash: 9d07h, last: 4d16h

Sample crash report:
loop0: detected capacity change from 0 to 4096
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: rt_spin_lock+0x2b8/0x2c0 kernel/locking/spinlock_rt.c:-1
CPU: 1 UID: 0 PID: 7294 Comm: syz.0.200 Tainted: G        W           6.17.0-rc1-syzkaller #0 PREEMPT_{RT,(full)} 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x99/0x250 lib/dump_stack.c:120
 vpanic+0x281/0x750 kernel/panic.c:430
 panic+0xb9/0xc0 kernel/panic.c:566
 __stack_chk_fail+0x26/0x30 kernel/panic.c:929
 rt_spin_lock+0x2b8/0x2c0 kernel/locking/spinlock_rt.c:-1
 spin_lock_irq include/linux/spinlock_rt.h:93 [inline]
 __filemap_add_folio+0x964/0x11c0 mm/filemap.c:884
 filemap_add_folio+0xd5/0x270 mm/filemap.c:969
 do_read_cache_folio+0x1de/0x560 mm/filemap.c:3924
 do_read_cache_page mm/filemap.c:4023 [inline]
 read_cache_page+0x5d/0x170 mm/filemap.c:4032
 read_mapping_page include/linux/pagemap.h:985 [inline]
 inode_read_data+0xa7/0x480 fs/ntfs3/inode.c:1054
 ntfs_fill_super+0x39c8/0x40b0 fs/ntfs3/super.c:1533
 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1815
 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
 do_mount fs/namespace.c:4133 [inline]
 __do_sys_mount fs/namespace.c:4344 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4321
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff4fdff038a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ff4fc24de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff4fc24def0 RCX: 00007ff4fdff038a
RDX: 0000200000000080 RSI: 000020000001f740 RDI: 00007ff4fc24deb0
RBP: 0000200000000080 R08: 00007ff4fc24def0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000020000001f740
R13: 00007ff4fc24deb0 R14: 000000000001f771 R15: 0000200000000100
 </TASK>
Kernel Offset: disabled

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/11 11:11 upstream 8f5ae30d69d7 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in rt_spin_lock
2025/08/06 19:57 upstream 479058002c32 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in rt_spin_lock
* Struck through repros no longer work on HEAD.