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: 24d, last: 24d

Sample crash report:
ntfs3: loop2: Different NTFS' sector size (1024) and media sector size (512)
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: lock_is_held_type+0x17f/0x180
CPU: 1 PID: 4056 Comm: syz.2.75 Not tainted 5.15.166-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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+0xf1/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:1323
 vfs_get_tree+0x88/0x270 fs/super.c:1528
 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:0x7f8a8ac3269a
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:00007f8a890a9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a890a9ef0 RCX: 00007f8a8ac3269a
RDX: 000000002001f800 RSI: 0000000020000000 RDI: 00007f8a890a9eb0
RBP: 000000002001f800 R08: 00007f8a890a9ef0 R09: 0000000000800840
R10: 0000000000800840 R11: 0000000000000246 R12: 0000000020000000
R13: 00007f8a890a9eb0 R14: 000000000001f85d R15: 0000000020000080
 </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/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.