BUG: stack guard page was hit in corrupted (14)

10 views
Skip to first unread message

syzbot

unread,
Mar 23, 2022, 12:43:23 PM3/23/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 9a559b886861 Merge branch 'android12-5.10' into `android12..
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=176b7871700000
kernel config: https://syzkaller.appspot.com/x/.config?x=c75d1e9921386ae5
dashboard link: https://syzkaller.appspot.com/bug?extid=03bd34bd07a1a96d3b62
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14e008db700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=113c60b3700000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+03bd34...@syzkaller.appspotmail.com

BUG: stack guard page was hit at ffffc90000927fb8 (stack is ffffc90000928000..ffffc9000092ffff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 368 Comm: syz-executor164 Not tainted 5.10.107-syzkaller-00620-g9a559b886861 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__find_get_block+0x1b/0xbd0 fs/buffer.c:1332
Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 d1 f3 d7 02 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 00 00 41 89 d5 <48> 89 34 24 48 89 7c 24 08 65 48 8b 04 25 28 00 00 00 48 89 84 24
RSP: 0018:ffffc90000927fc0 EFLAGS: 00010286
RAX: ffffffff81be3551 RBX: 0000000000000008 RCX: ffff888107ba8000
RDX: 0000000000001000 RSI: 00000000000000d8 RDI: ffff88810044b740
RBP: ffffc900009280a0 R08: ffffffff81e8c520 R09: ffffc900009281e0
R10: fffff52000125041 R11: 0000000000000000 R12: ffff88810044b740
R13: 0000000000001000 R14: 0000000000001000 R15: 00000000000000d8
FS: 00005555566e43c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000927fb8 CR3: 00000001075cd000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Modules linked in:
---[ end trace 607f4ee076142527 ]---
RIP: 0010:__find_get_block+0x1b/0xbd0 fs/buffer.c:1332
Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 d1 f3 d7 02 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 00 00 41 89 d5 <48> 89 34 24 48 89 7c 24 08 65 48 8b 04 25 28 00 00 00 48 89 84 24
RSP: 0018:ffffc90000927fc0 EFLAGS: 00010286
RAX: ffffffff81be3551 RBX: 0000000000000008 RCX: ffff888107ba8000
RDX: 0000000000001000 RSI: 00000000000000d8 RDI: ffff88810044b740
RBP: ffffc900009280a0 R08: ffffffff81e8c520 R09: ffffc900009281e0
R10: fffff52000125041 R11: 0000000000000000 R12: ffff88810044b740
R13: 0000000000001000 R14: 0000000000001000 R15: 00000000000000d8
FS: 00005555566e43c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000927fb8 CR3: 00000001075cd000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 5c pop %rsp
1: 41 5d pop %r13
3: 41 5e pop %r14
5: 41 5f pop %r15
7: 5d pop %rbp
8: c3 retq
9: e8 d1 f3 d7 02 callq 0x2d7f3df
e: 90 nop
f: 55 push %rbp
10: 48 89 e5 mov %rsp,%rbp
13: 41 57 push %r15
15: 41 56 push %r14
17: 41 55 push %r13
19: 41 54 push %r12
1b: 53 push %rbx
1c: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp
20: 48 81 ec a0 00 00 00 sub $0xa0,%rsp
27: 41 89 d5 mov %edx,%r13d
* 2a: 48 89 34 24 mov %rsi,(%rsp) <-- trapping instruction
2e: 48 89 7c 24 08 mov %rdi,0x8(%rsp)
33: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
3a: 00 00
3c: 48 rex.W
3d: 89 .byte 0x89
3e: 84 .byte 0x84
3f: 24 .byte 0x24


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

Tadeusz Struk

unread,
Mar 23, 2022, 1:22:16 PM3/23/22
to syzbot, syzkaller-a...@googlegroups.com

syzbot

unread,
Mar 23, 2022, 7:43:14 PM3/23/22
to syzkaller-a...@googlegroups.com, tadeus...@linaro.org
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+03bd34...@syzkaller.appspotmail.com

Tested on:

commit: cf9be86a ANDROID: GKI: 3/23/2022 KMI update
git tree: https://android.googlesource.com/kernel/common android13-5.10
kernel config: https://syzkaller.appspot.com/x/.config?x=feec866d5b2cb66b
dashboard link: https://syzkaller.appspot.com/bug?extid=03bd34bd07a1a96d3b62
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2

Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.

Tadeusz Struk

unread,
Mar 24, 2022, 10:58:40 AM3/24/22
to syzbot, syzkaller-a...@googlegroups.com
#syz dup: BUG: stack guard page was hit in file_open

--
Thanks,
Tadeusz
Reply all
Reply to author
Forward
0 new messages