syzbot


kernel panic: stack is corrupted in __lock_acquire (5)

Status: upstream: reported C repro on 2022/12/26 14:42
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+0bc4c0668351ce1cab8f@syzkaller.appspotmail.com
First crash: 349d, last: 28d
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) kernel 1 1656d 1656d 0/25 closed as invalid on 2019/05/25 17:37
upstream kernel panic: stack is corrupted in __lock_acquire (3) kernel 3 1645d 1645d 0/25 closed as invalid on 2019/06/05 18:41
upstream kernel panic: stack is corrupted in __lock_acquire (4) kernel syz error error 75 1482d 1640d 16/25 fixed on 2020/02/18 14:31
upstream kernel panic: stack is corrupted in __lock_acquire kernel 9 1786d 1799d 0/25 closed as dup on 2019/01/04 11:22
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/11/22 13:55 1h01m retest repro upstream report log
2023/11/22 13:55 23m retest repro upstream report log
2023/11/22 12:53 23m retest repro linux-next OK log
2023/11/22 11:15 31m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/10/02 16:00 23m retest repro upstream report log
2023/08/30 17:24 16m retest repro linux-next report log
2023/08/30 17:24 15m retest repro upstream report log
2023/08/30 17:24 14m retest repro upstream report log
2023/08/30 17:24 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
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+0x7c40/0x7f70
CPU: 0 PID: 6817 Comm: syz-executor337 Not tainted 6.6.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 panic+0x30f/0x770 kernel/panic.c:340
 __stack_chk_fail+0x14/0x20 kernel/panic.c:759
 __lock_acquire+0x7c40/0x7f70
 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753
 __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]
 iput_final fs/inode.c:1764 [inline]
 iput+0x5a2/0x8f0 fs/inode.c:1801
 ntfs_fill_super+0x41bb/0x4c30 fs/ntfs3/super.c:1418
 get_tree_bdev+0x416/0x5b0 fs/super.c:1577
 vfs_get_tree+0x8c/0x280 fs/super.c:1750
 do_new_mount+0x28f/0xae0 fs/namespace.c:3335
 do_mount fs/namespace.c:3675 [inline]
 __do_sys_mount fs/namespace.c:3884 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3861
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3053dde46a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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:00007ffdca9781f8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3053dde46a
RDX: 000000002001f340 RSI: 000000002001f380 RDI: 00007ffdca978240
RBP: 0000000000000004 R08: 00007ffdca978280 R09: 000000000001f323
R10: 0000000000000000 R11: 0000000000000286 R12: 00007ffdca978240
R13: 00007ffdca978280 R14: 0000000000200000 R15: 0000000000000003
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/18 15:26 upstream ce9ecca0238b 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/07/10 06:46 upstream c192ac735768 668cb1fa .config strace 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/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
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/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
2023/11/08 11:13 upstream 305230142ae0 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/11/08 06:00 upstream 13d88ac54ddd 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/10/27 23:37 upstream 750b95887e56 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/10/20 10:25 upstream ce55c22ec8b2 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/10/14 04:58 upstream 8cb1f10d8c4b f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel panic: stack is corrupted in __lock_acquire
2023/07/03 08:54 upstream a901a3568fd2 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel panic: stack is corrupted in __lock_acquire
2023/06/22 01:42 upstream dad9774deaf1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel panic: stack is corrupted in __lock_acquire
2023/06/13 13:39 upstream fb054096aea0 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root 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.