syzbot


kernel panic: stack is corrupted in __schedule (2)

Status: auto-obsoleted due to no activity on 2025/04/24 00:04
Reported-by: syzbot+378e7654dfd63c527586@syzkaller.appspotmail.com
First crash: 212d, last: 125d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: stack is corrupted in __schedule (3) kernel 2 998d 1007d 0/28 auto-obsoleted due to no activity on 2022/11/23 03:17
linux-6.1 kernel panic: stack is corrupted in __schedule 1 364d 364d 0/3 auto-obsoleted due to no activity on 2024/08/27 17:04
upstream kernel panic: stack is corrupted in __schedule kernel 1 1730d 1726d 0/28 auto-closed as invalid on 2020/11/21 13:35
linux-6.1 kernel panic: stack is corrupted in __schedule (3) origin:upstream C 1 8d05h 8d05h 0/3 upstream: reported C repro on 2025/05/11 08:28
upstream kernel panic: stack is corrupted in __schedule (2) kernel 1 1268d 1264d 0/28 auto-closed as invalid on 2022/01/26 17:30
upstream kernel panic: stack is corrupted in __schedule (4) ntfs3 syz 54 23d 271d 0/28 upstream: reported syz repro on 2024/08/20 16:14

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __schedule+0x2051/0x4570
CPU: 1 PID: 5188 Comm: syz.1.142 Not tainted 6.1.124-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/0x2cb lib/dump_stack.c:106
 panic+0x318/0x764 kernel/panic.c:339
 __stack_chk_fail+0x10/0x10 kernel/panic.c:767
 __schedule+0x2051/0x4570
 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727
 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __up_read+0x318/0x690 kernel/locking/rwsem.c:1356
 filemap_invalidate_unlock_shared include/linux/fs.h:825 [inline]
 page_cache_ra_unbounded+0x695/0x7b0 mm/readahead.c:271
 page_cache_sync_readahead include/linux/pagemap.h:1248 [inline]
 filemap_get_pages mm/filemap.c:2664 [inline]
 filemap_read+0x7fa/0x31d0 mm/filemap.c:2758
 __kernel_read+0x421/0x890 fs/read_write.c:428
 integrity_kernel_read+0xac/0xf0 security/integrity/iint.c:228
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
 ima_calc_file_hash+0x163f/0x1d10 security/integrity/ima/ima_crypto.c:573
 ima_collect_measurement+0x559/0xc40 security/integrity/ima/ima_api.c:293
 process_measurement+0x135c/0x21b0 security/integrity/ima/ima_main.c:351
 ima_file_check+0xed/0x170 security/integrity/ima/ima_main.c:534
 do_open fs/namei.c:3628 [inline]
 path_openat+0x2687/0x2e60 fs/namei.c:3783
 do_filp_open+0x230/0x480 fs/namei.c:3810
 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1345
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f5351f85d29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f5352e8c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5352176080 RCX: 00007f5351f85d29
RDX: 0000000000143042 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f5352001b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5352176080 R15: 00007ffc6761abc8
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/14 00:03 linux-6.1.y c63962be84ef 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel panic: stack is corrupted in __schedule
2025/01/13 23:58 linux-6.1.y c63962be84ef 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel panic: stack is corrupted in __schedule
2024/12/27 13:27 linux-6.1.y 29f02ec58a94 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel panic: stack is corrupted in __schedule
2024/10/19 00:58 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel panic: stack is corrupted in __schedule
* Struck through repros no longer work on HEAD.