syzbot


kernel panic: stack is corrupted in ntfs_set_state

Status: upstream: reported C repro on 2024/11/27 09:49
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+bbcb68026d186313e795@syzkaller.appspotmail.com
First crash: 26d, last: 5d06h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] kernel panic: stack is corrupted in ntfs_set_state 0 (1) 2024/11/27 09:49
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/12/16 07:44 14m retest repro upstream report log
2024/12/16 07:44 13m retest repro upstream report log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3(loop0): Different NTFS sector size (1024) and media sector size (512).
ntfs3(loop0): Mark volume as dirty due to NTFS errors
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ntfs_set_state+0x6b9/0x6c0
CPU: 0 UID: 0 PID: 5922 Comm: syz-executor192 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 panic+0x349/0x880 kernel/panic.c:354
 __stack_chk_fail+0x15/0x20 kernel/panic.c:836
 ntfs_set_state+0x6b9/0x6c0
 ntfs_iget5+0x912/0x37b0 fs/ntfs3/inode.c:548
 ntfs_fill_super+0x3e8e/0x4730 fs/ntfs3/super.c:1477
 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636
 vfs_get_tree+0x90/0x2b0 fs/super.c:1814
 do_new_mount+0x2be/0xb40 fs/namespace.c:3507
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4057 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034
 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:0x7fde72d5479a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 ee 08 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff75a1aaf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fff75a1ab10 RCX: 00007fde72d5479a
RDX: 0000000020000140 RSI: 0000000020000040 RDI: 00007fff75a1ab10
RBP: 0000000000000004 R08: 00007fff75a1ab50 R09: 000000000001f853
R10: 0000000000004002 R11: 0000000000000286 R12: 0000000000004002
R13: 00007fff75a1ab50 R14: 0000000000000003 R15: 0000000000200000
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/25 00:11 upstream 9f16d5e6f220 68da6d95 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel panic: stack is corrupted in ntfs_set_state
2024/11/24 23:25 upstream 9f16d5e6f220 68da6d95 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel panic: stack is corrupted in ntfs_set_state
2024/12/02 07:41 upstream f788b5ef1ca9 68914665 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel panic: stack is corrupted in ntfs_set_state
2024/11/24 22:09 upstream 9f16d5e6f220 68da6d95 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel panic: stack is corrupted in ntfs_set_state
* Struck through repros no longer work on HEAD.