syzbot


KASAN: stack-out-of-bounds Read in dump_pagetable

Status: closed as invalid on 2018/07/07 06:57
Subsystems: x86
[Documentation on labels]
Reported-by: syzbot+16558bea924be1b1d888@syzkaller.appspotmail.com
First crash: 2398d, last: 2397d

Sample crash report:
syz-executor1: Corrupted page table at address 4812d1
PGD 19a4d4067 P4D 19a4d4067 PUD 1b1afd067 
==================================================================
BUG: KASAN: stack-out-of-bounds in pmd_val arch/x86/include/asm/paravirt.h:494 [inline]
BUG: KASAN: stack-out-of-bounds in dump_pagetable+0x927/0x970 arch/x86/mm/fault.c:551
Read of size 8 at addr ffff8801b1afd010 by task syz-executor1/25558
PANIC: double fault, error_code: 0x0

CPU: 1 PID: 25629 Comm: syz-executor6 Not tainted 4.18.0-rc3+ #1
CPU: 0 PID: 25558 Comm: syz-executor1 Not tainted 4.18.0-rc3+ #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline]
RIP: 0010:perf_trace_lock_acquire+0xe6/0x9a0 include/trace/events/lock.h:13
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Code: 18 
Call Trace:
48 89 
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
85 70 
fe ff 
ff 48 
c1 e8 
03 80 
 print_address_description+0x6c/0x20b mm/kasan/report.c:256
3c 
10 00 
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
0f 85 
 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
8a 05 
 pmd_val arch/x86/include/asm/paravirt.h:494 [inline]
 dump_pagetable+0x927/0x970 arch/x86/mm/fault.c:551
00 00 
49 8b 
79 18 
48 85 
ff 0f 
84 
72 04 
00 00 
4c 89 
8d 58 
 pgtable_bad+0x4a/0x130 arch/x86/mm/fault.c:692
fe ff 
 __do_page_fault+0x87b/0xe50 arch/x86/mm/fault.c:1270
ff <e8> 
45 aa 
31 06 
4c 8b 
8d 
 do_page_fault+0xf6/0x8c0 arch/x86/mm/fault.c:1471
58 fe 
ff ff 
41 89 
c6 83 
c0 01 
c1 e0 
10 
83 
RSP: 0018:ffff8801af7fffe8 EFLAGS: 00010086
RAX: 1ffffffff11f24c7 RBX: 1ffff10035f00007 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff88f92620 RDI: ffffffff87ebd260
RBP: ffff8801af8001c0 R08: 0000000000000002 R09: ffffffff88f92620
R10: ffffffff815dfe10 R11: dffffc0000000000 R12: ffff8801af800198
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1160
R13: 0000000000000002 R14: 0000000000000000 R15: ffffffff88f7b740
FS:  00007ff57bef7700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
RIP: 0033:0x4812d1
Code: 
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801af7fffd8 CR3: 0000000008e6a000 CR4: 00000000001406e0
syz-executor1: Corrupted page table at address 4812a7
DR0: 0000000020000000 DR1: 0000000020000080 DR2: 0000000000000000
PGD 19a4d4067 
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
P4D 19a4d4067 
Call Trace:
PUD 1b1afd067 

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/07 00:42 bpf c48424d993fa 9636bc93 .config console log report ci-upstream-bpf-kasan-gce
2018/07/07 06:47 bpf-next d90c936fb318 6c0c0099 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.