syzbot


kernel panic: stack is corrupted in __lock_acquire (6)

Status: moderation: reported on 2024/05/14 19:17
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+0799e3da3a519a99be40@syzkaller.appspotmail.com
First crash: 38d, last: 38d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: stack is corrupted in __lock_acquire (5) ntfs3 C error done 18 162d 539d 26/27 fixed on 2024/02/21 18:23
upstream kernel panic: stack is corrupted in __lock_acquire (2) kernel 1 1851d 1851d 0/27 closed as invalid on 2019/05/25 17:37
upstream kernel panic: stack is corrupted in __lock_acquire (3) kernel 3 1839d 1840d 0/27 closed as invalid on 2019/06/05 18:41
upstream kernel panic: stack is corrupted in __lock_acquire (4) kernel syz error error 75 1677d 1835d 15/27 fixed on 2020/02/18 14:31
upstream kernel panic: stack is corrupted in __lock_acquire kernel 9 1981d 1994d 0/27 closed as dup on 2019/01/04 11:22

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __lock_acquire+0x2de4/0x3b30 kernel/locking/lockdep.c:5168
CPU: 2 PID: 9196 Comm: syz-executor.1 Not tainted 6.9.0-rc7-syzkaller-00136-gf4345f05c0df #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x3d/0x1f0 lib/dump_stack.c:114
 panic+0x6f5/0x7a0 kernel/panic.c:348
 __stack_chk_fail+0x15/0x20 kernel/panic.c:780
 __lock_acquire+0x2de4/0x3b30 kernel/locking/lockdep.c:5168
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 inode_get_bytes+0x1f/0xa0 fs/stat.c:849
 attr_set_size+0x2223/0x2c60 fs/ntfs3/attrib.c:814
 ntfs_set_size+0x13d/0x220 fs/ntfs3/inode.c:845
 ntfs_extend+0x401/0x570 fs/ntfs3/file.c:335
 ntfs_file_write_iter+0x433/0x2050 fs/ntfs3/file.c:1115
 call_write_iter include/linux/fs.h:2110 [inline]
 iter_file_splice_write+0x906/0x10b0 fs/splice.c:743
 do_splice_from fs/splice.c:941 [inline]
 direct_splice_actor+0x19b/0x6d0 fs/splice.c:1164
 splice_direct_to_actor+0x346/0xa40 fs/splice.c:1108
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0x17e/0x250 fs/splice.c:1233
 do_sendfile+0xaa8/0xdb0 fs/read_write.c:1295
 __do_sys_sendfile64 fs/read_write.c:1362 [inline]
 __se_sys_sendfile64 fs/read_write.c:1348 [inline]
 __x64_sys_sendfile64+0x1da/0x220 fs/read_write.c:1348
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa13c7dd69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faa1494c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007faa13dabf80 RCX: 00007faa13c7dd69
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005
RBP: 00007faa13cca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000100000001 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007faa13dabf80 R15: 00007ffccf740e58
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/10 19:05 upstream f4345f05c0df 375932ce .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel panic: stack is corrupted in __lock_acquire
* Struck through repros no longer work on HEAD.