syzbot


kernel panic: stack is corrupted in lock_acquire

Status: upstream: reported C repro on 2023/05/20 12:30
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+36d9632fc4eac47cba41@syzkaller.appspotmail.com
First crash: 551d, last: 84d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/08/07 linux-5.15.y (ToT) 7e89efd3ae1c C [report] KASAN: stack-out-of-bounds Write in end_buffer_read_sync
2023/09/01 upstream (ToT) 99d99825fc07 C [report] VFS: Busy inodes after unmount (use-after-free)
2024/08/07 upstream (ToT) d4560686726f C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: stack is corrupted in lock_acquire kernel 2 2146d 2148d 0/28 closed as dup on 2019/01/04 11:23
upstream kernel panic: stack is corrupted in lock_acquire (2) ntfs3 C error done 27 417d 789d 0/28 auto-obsoleted due to no activity on 2024/01/14 06:22
upstream kernel panic: stack is corrupted in lock_acquire (3) 1 91d 90d 0/28 closed as invalid on 2024/09/13 10:29
linux-6.1 kernel panic: stack is corrupted in lock_acquire 1 579d 579d 0/3 auto-obsoleted due to no activity on 2023/08/20 17:52
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/16 07:47 16m retest repro linux-5.15.y report log
2024/10/04 05:30 17m retest repro linux-5.15.y report log
2024/10/04 05:30 23m retest repro linux-5.15.y report log
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2024/10/14 23:42 0m fix candidate upstream error job log
2024/10/14 23:10 0m bisect fix linux-5.15.y error job log
2024/08/29 16:29 2h38m bisect fix linux-5.15.y OK (0) job log log
2024/07/22 04:25 2h26m bisect fix linux-5.15.y OK (0) job log log
2024/03/24 06:17 2h23m bisect fix linux-5.15.y OK (0) job log log
2024/02/23 01:34 2h17m bisect fix linux-5.15.y OK (0) job log log
2024/01/14 07:19 2h24m bisect fix linux-5.15.y OK (0) job log log
2023/12/14 13:25 2h04m bisect fix linux-5.15.y OK (0) job log log
2023/11/12 17:03 2h36m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
loop2: detected capacity change from 0 to 4096
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: lock_acquire+0x4e9/0x4f0
CPU: 1 PID: 4680 Comm: syz-executor341 Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 panic+0x318/0x860 kernel/panic.c:309
 __stack_chk_fail+0x10/0x10 kernel/panic.c:761
 lock_acquire+0x4e9/0x4f0
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170
 spin_lock_irq include/linux/spinlock.h:388 [inline]
 truncate_inode_pages_final+0x5f/0x90 mm/truncate.c:456
 ntfs_evict_inode+0x18/0xb0 fs/ntfs3/inode.c:1780
 evict+0x2a4/0x620 fs/inode.c:587
 ntfs_fill_super+0x3b47/0x4350 fs/ntfs3/super.c:1185
 get_tree_bdev+0x3fe/0x620 fs/super.c:1312
 vfs_get_tree+0x88/0x270 fs/super.c:1517
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f33562ba59a
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:00007ffc32f8a288 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f33562ba59a
RDX: 000000002001f700 RSI: 000000002001f740 RDI: 00007ffc32f8a2d0
RBP: 0000000000000004 R08: 00007ffc32f8a310 R09: 000000000001f6c6
R10: 0000000000000000 R11: 0000000000000286 R12: 00007ffc32f8a2d0
R13: 00007ffc32f8a310 R14: 0000000000200000 R15: 0000000000000003
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/25 15:52 linux-5.15.y c52b9710c83d 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/19 01:44 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/08/07 01:58 linux-5.15.y 38d4ca22a528 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/07/07 00:23 linux-5.15.y d54cfc420586 1a2f6297 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/06/07 12:55 linux-5.15.y c61bd26ae81a 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/06/01 06:22 linux-5.15.y c61bd26ae81a 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/05/16 18:42 linux-5.15.y 284087d4f7d5 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/05/16 12:18 linux-5.15.y 284087d4f7d5 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/05/07 05:19 linux-5.15.y 284087d4f7d5 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/29 19:57 linux-5.15.y b925f60c6ee7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/21 07:27 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/20 10:14 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/17 15:26 linux-5.15.y c52b9710c83d acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2024/04/03 15:02 linux-5.15.y 9465fef4ae35 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/10/11 02:05 linux-5.15.y 02e21884dcf2 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/08/26 07:11 linux-5.15.y f6f7927ac664 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/07/07 21:01 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/07/06 13:06 linux-5.15.y d54cfc420586 1a2f6297 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/06/01 06:22 linux-5.15.y 0ab06468cbd1 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
2023/05/20 12:29 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_acquire
* Struck through repros no longer work on HEAD.