syzbot


kernel panic: stack is corrupted in lock_is_held_type

Status: upstream: reported on 2024/09/09 21:40
Reported-by: syzbot+ea1188d46e8cb2e06abc@syzkaller.appspotmail.com
First crash: 42d, last: 21h53m

Sample crash report:
loop1: detected capacity change from 0 to 4096
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: lock_is_held_type+0x17f/0x180
CPU: 1 PID: 6474 Comm: syz.1.671 Not tainted 5.15.168-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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_is_held_type+0x17f/0x180
 lock_is_held include/linux/lockdep.h:287 [inline]
 ___might_sleep+0xa2/0x6a0 kernel/sched/core.c:9602
 kmap include/linux/highmem-internal.h:155 [inline]
 ntfs_map_page+0x5a/0x390 fs/ntfs/aops.h:78
 ntfs_fill_super+0x361a/0x4340 fs/ntfs3/super.c:1147
 get_tree_bdev+0x3fe/0x620 fs/super.c:1325
 vfs_get_tree+0x88/0x270 fs/super.c:1530
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540
 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:0x7fa6d14b579a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa6cf92be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa6cf92bef0 RCX: 00007fa6d14b579a
RDX: 0000000020000080 RSI: 000000002001f740 RDI: 00007fa6cf92beb0
RBP: 0000000020000080 R08: 00007fa6cf92bef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000002001f740
R13: 00007fa6cf92beb0 R14: 000000000001f73f R15: 00000000200000c0
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/21 22:59 linux-5.15.y 584a40a22cb9 f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_is_held_type
2024/09/09 21:39 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel panic: stack is corrupted in lock_is_held_type
* Struck through repros no longer work on HEAD.