syzbot


kernel panic: stack is corrupted in __lock_acquire (5)

Status: upstream: reported C repro on 2022/12/26 14:42
Labels: ntfs3 (incorrect?)
Reported-by: syzbot+0bc4c0668351ce1cab8f@syzkaller.appspotmail.com
First crash: 170d, last: 13h20m

Cause bisection: failed (error log, bisect log)
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] kernel panic: stack is corrupted in __lock_acquire (5) 0 (1) 2022/12/26 14:42
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: stack is corrupted in __lock_acquire (2) 1 1477d 1477d 0/24 closed as invalid on 2019/05/25 17:37
upstream kernel panic: stack is corrupted in __lock_acquire (3) 3 1466d 1466d 0/24 closed as invalid on 2019/06/05 18:41
upstream kernel panic: stack is corrupted in __lock_acquire (4) kernel syz error error 75 1303d 1461d 16/24 fixed on 2020/02/18 14:31
upstream kernel panic: stack is corrupted in __lock_acquire 9 1608d 1620d 0/24 closed as dup on 2019/01/04 11:22
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/12/27 00:50 18m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git a5541c0811a0 report log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3: loop0: Different NTFS' sector size (2048) and media sector size (512)
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __lock_acquire+0x405c/0x5df0 kernel/locking/lockdep.c:5105
CPU: 1 PID: 7724 Comm: syz-executor622 Not tainted 6.3.0-syzkaller-10656-g22b8cc3e78f5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
 panic+0x688/0x730 kernel/panic.c:340
 __stack_chk_fail+0x19/0x20 kernel/panic.c:759
 __lock_acquire+0x405c/0x5df0 kernel/locking/lockdep.c:5105
 lock_acquire kernel/locking/lockdep.c:5691 [inline]
 lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5656
 __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:350 [inline]
 inode_wait_for_writeback+0x1e/0x40 fs/fs-writeback.c:1488
 evict+0x2b7/0x6b0 fs/inode.c:662
 iput_final fs/inode.c:1747 [inline]
 iput.part.0+0x50a/0x740 fs/inode.c:1773
 iput+0x5c/0x80 fs/inode.c:1763
 ntfs_fill_super+0x3107/0x3ab0 fs/ntfs3/super.c:1239
 get_tree_bdev+0x44a/0x770 fs/super.c:1303
 vfs_get_tree+0x8d/0x350 fs/super.c:1510
 do_new_mount fs/namespace.c:3039 [inline]
 path_mount+0x134b/0x1e40 fs/namespace.c:3369
 do_mount fs/namespace.c:3382 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x283/0x300 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f137650fd3a
Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff9560e648 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00005555574bf2c0 RCX: 00007f137650fd3a
RDX: 000000002001f380 RSI: 000000002001f3c0 RDI: 00007fff9560e690
RBP: 0000000000000000 R08: 00007fff9560e6d0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004
R13: 00007fff9560e6d0 R14: 0000000000000003 R15: 00007fff9560e690
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/04/29 09:23 upstream 22b8cc3e78f5 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel panic: stack is corrupted in __lock_acquire
2023/02/11 22:01 linux-next 38d2b86a665b 93e26d60 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel panic: stack is corrupted in __lock_acquire
2022/12/22 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 c692fab1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel panic: stack is corrupted in __lock_acquire
2023/06/10 09:25 upstream 64569520920a 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel panic: stack is corrupted in __lock_acquire
2023/05/21 03:49 upstream 0dd2a6fb1e34 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel panic: stack is corrupted in __lock_acquire
2023/05/05 19:13 upstream 78b421b6a7c6 4cec9341 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel panic: stack is corrupted in __lock_acquire
2023/04/29 23:13 upstream 1ae78a14516b 62df2017 .config console log report info ci-qemu-upstream-386 kernel panic: stack is corrupted in __lock_acquire
2022/12/24 20:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel panic: stack is corrupted in __lock_acquire
* Struck through repros no longer work on HEAD.