syzbot


kernel panic: stack is corrupted in save_stack

Status: auto-obsoleted due to no activity on 2023/11/29 14:17
Subsystems: mm ntfs3
[Documentation on labels]
Reported-by: syzbot+b58594b2f7f31155af24@syzkaller.appspotmail.com
First crash: 357d, last: 357d
Cause bisection: introduced by (bisect log) [merge commit]:
commit be1a63daffdd152ba4c7b71ab9fec2e39259b42b
Author: Mark Brown <broonie@kernel.org>
Date: Mon Jun 6 11:32:40 2022 +0000

  Merge existing fixes from asoc/for-5.19 into new branch

Crash: BUG: Bad page state (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] [ntfs3?] kernel panic: stack is corrupted in save_stack 0 (1) 2023/05/07 05:17
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/11/29 13:53 23m retest repro linux-next OK log
2023/09/20 10:43 22m retest repro linux-next report log
2023/07/12 05:25 22m retest repro linux-next report log

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: save_stack+0x1c8/0x1e0 mm/page_owner.c:135
CPU: 1 PID: 5038 Comm: syz-executor216 Not tainted 6.3.0-next-20230428-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
 panic+0x686/0x730 kernel/panic.c:340
 __stack_chk_fail+0x19/0x20 kernel/panic.c:759
 save_stack+0x1c8/0x1e0 mm/page_owner.c:135
 __set_page_owner+0x1f/0x60 mm/page_owner.c:192
 set_page_owner include/linux/page_owner.h:31 [inline]
 post_alloc_hook+0x2db/0x350 mm/page_alloc.c:1731
 prep_new_page mm/page_alloc.c:1738 [inline]
 get_page_from_freelist+0xf7c/0x2aa0 mm/page_alloc.c:3502
 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:4768
 alloc_pages+0x1aa/0x270 mm/mempolicy.c:2277
 push_anon lib/iov_iter.c:245 [inline]
 append_pipe+0x19a/0x660 lib/iov_iter.c:302
 copy_pipe_to_iter lib/iov_iter.c:479 [inline]
 _copy_to_iter+0x463/0x1370 lib/iov_iter.c:533
 copy_page_to_iter lib/iov_iter.c:740 [inline]
 copy_page_to_iter+0xe8/0x170 lib/iov_iter.c:727
 copy_folio_to_iter include/linux/uio.h:197 [inline]
 filemap_read+0x682/0xc70 mm/filemap.c:2742
 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2837
 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744
 call_read_iter include/linux/fs.h:1862 [inline]
 generic_file_splice_read+0x182/0x4b0 fs/splice.c:422
 do_splice_to+0x1b9/0x240 fs/splice.c:905
 splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:976
 do_splice_direct+0x1ab/0x280 fs/splice.c:1085
 do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64 fs/read_write.c:1308 [inline]
 __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5c56defc49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff58272038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 000000000001419a RCX: 00007f5c56defc49
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fff58272060 R09: 00007fff58272060
R10: 00008400fffffffa R11: 0000000000000246 R12: 00007fff5827205c
R13: 00007fff58272090 R14: 00007fff58272070 R15: 0000000000000004
 </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
2023/05/03 05:14 linux-next 92e815cf07ed 48e0a81d .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 save_stack
* Struck through repros no longer work on HEAD.