syzbot


BUG: unable to handle kernel paging request in bpf_trace_run2

Status: auto-obsoleted due to no activity on 2023/04/17 21:30
Reported-by: syzbot+62f2ee173d3f9c51cd91@syzkaller.appspotmail.com
First crash: 1522d, last: 1368d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: slab-use-after-free Read in bpf_trace_run2 (2) bpf trace syz error 123 19d 36d 16/28 upstream: reported syz repro on 2024/10/18 07:37
upstream BUG: unable to handle kernel paging request in bpf_trace_run2 bpf trace C done done 10 1363d 1524d 20/28 fixed on 2021/04/13 19:14
upstream KASAN: slab-use-after-free Read in bpf_trace_run2 bpf trace C error 653 228d 247d 25/28 fixed on 2024/05/22 23:16
upstream KASAN: vmalloc-out-of-bounds Read in bpf_trace_run2 trace bpf C done done 5 1366d 1524d 20/28 fixed on 2021/04/13 19:14
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/04/17 20:40 18m retest repro android12-5.4 OK log
2023/04/17 19:40 15m retest repro android12-5.4 OK log

Sample crash report:
BUG: unable to handle page fault for address: ffffc90000089030
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 1da89e067 P4D 1da89e067 PUD 1da89f067 PMD 1da8a4067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 357 Comm: syz-executor061 Not tainted 5.4.65-syzkaller-00175-g63d1c2f0b547 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_call_func include/linux/filter.h:608 [inline]
RIP: 0010:__bpf_trace_run kernel/trace/bpf_trace.c:1334 [inline]
RIP: 0010:bpf_trace_run2+0xef/0x220 kernel/trace/bpf_trace.c:1372
Code: 7e 01 0f 1f 44 00 00 e8 5f 13 f9 ff 49 8d 7d 30 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 58 c7 26 00 49 8d 75 38 4c 89 f7 <41> ff 55 30 e9 b4 00 00 00 e8 33 13 f9 ff e8 0e 27 bf ff 49 89 c7
RSP: 0018:ffff8881cdbefd20 EFLAGS: 00010246
RAX: 1ffff92000011206 RBX: dffffc0000000000 RCX: ffff8881cd96dd00
RDX: 0000000000000000 RSI: ffffc90000089038 RDI: ffff8881cdbefd60
RBP: ffff8881cdbefdd0 R08: ffffffff814856d3 R09: fffffbfff09b257d
R10: fffffbfff09b257d R11: 0000000000000000 R12: dffffc0000000000
R13: ffffc90000089000 R14: ffff8881cdbefd60 R15: 0000000000000141
FS:  0000000000d7d880(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000089030 CR3: 00000001d0219004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 trace_sys_enter include/trace/events/syscalls.h:18 [inline]
 syscall_trace_enter+0x940/0xa70 arch/x86/entry/common.c:124
 do_syscall_64+0x69/0x150 arch/x86/entry/common.c:286
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x441549
Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 8b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffeb80a5e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441549
RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000011
RBP: 0000000000006a0c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402360
R13: 00000000004023f0 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffc90000089030
---[ end trace 77e1a5566e598ff1 ]---
RIP: 0010:bpf_call_func include/linux/filter.h:608 [inline]
RIP: 0010:__bpf_trace_run kernel/trace/bpf_trace.c:1334 [inline]
RIP: 0010:bpf_trace_run2+0xef/0x220 kernel/trace/bpf_trace.c:1372
Code: 7e 01 0f 1f 44 00 00 e8 5f 13 f9 ff 49 8d 7d 30 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 58 c7 26 00 49 8d 75 38 4c 89 f7 <41> ff 55 30 e9 b4 00 00 00 e8 33 13 f9 ff e8 0e 27 bf ff 49 89 c7
RSP: 0018:ffff8881cdbefd20 EFLAGS: 00010246
RAX: 1ffff92000011206 RBX: dffffc0000000000 RCX: ffff8881cd96dd00
RDX: 0000000000000000 RSI: ffffc90000089038 RDI: ffff8881cdbefd60
RBP: ffff8881cdbefdd0 R08: ffffffff814856d3 R09: fffffbfff09b257d
R10: fffffbfff09b257d R11: 0000000000000000 R12: dffffc0000000000
R13: ffffc90000089000 R14: ffff8881cdbefd60 R15: 0000000000000141
FS:  0000000000d7d880(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000089030 CR3: 00000001d0219004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/25 20:53 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 4a006f63 .config console log report syz C ci2-android-5-4-kasan
2020/09/22 18:46 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 3e8f6c27 .config console log report syz C ci2-android-5-4-kasan
2021/02/24 07:02 android12-5.4 dcde7eeee6a2 fcc6d71b .config console log report info ci2-android-5-4-kasan BUG: unable to handle kernel paging request in bpf_trace_run2
2020/09/22 18:31 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 3e8f6c27 .config console log report info ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.