syzbot


BUG: unable to handle kernel paging request in bpf_trace_run4

Status: auto-closed as invalid on 2021/03/11 20:35
Subsystems: bpf trace
[Documentation on labels]
Reported-by: syzbot+a5bd8c75daa0e849b296@syzkaller.appspotmail.com
First crash: 1228d, last: 1223d
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in bpf_trace_run4 0 (1) 2020/11/11 14:59
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 BUG: unable to handle kernel paging request in bpf_trace_run4 C 2 1273d 1273d 0/2 auto-obsoleted due to no activity on 2023/04/16 13:57

Sample crash report:
BUG: unable to handle page fault for address: ffffc90000f0d030
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 10000067 
P4D 10000067 PUD 101b1067 
PMD 140c4c067 
PTE 0

Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 20017 Comm: syz-executor.3 Not tainted 5.9.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_dispatcher_nop_func include/linux/bpf.h:647 [inline]
RIP: 0010:__bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline]
RIP: 0010:bpf_trace_run4+0x148/0x3f0 kernel/trace/bpf_trace.c:2100
Code: f7 ff 48 8d 7b 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a0 02 00 00 48 8d 73 38 48 8d 7c 24 28 <ff> 53 30 e8 b0 27 f7 ff e8 6b a0 6b 07 31 ff 89 c3 89 c6 e8 f0 1f
RSP: 0018:ffffc9000189f458 EFLAGS: 00010286

RAX: 0000000000000000 RBX: ffffc90000f0d000 RCX: ffffffff8178e194
RDX: 0000000000000000 RSI: ffffc90000f0d038 RDI: ffffc9000189f480
RBP: 1ffff92000313e8c R08: 0000000000000000 R09: ffffffff8ebad667
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 000000000002d000 R14: 000000001ab0e000 R15: ffff88806257e738
FS:  00007f80498e3700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000f0d030 CR3: 000000002f230000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __bpf_trace_ext4_ext_show_extent+0x11f/0x160 include/trace/events/ext4.h:2082
 __traceiter_ext4_ext_show_extent+0x7d/0xd0 include/trace/events/ext4.h:2082
 trace_ext4_ext_show_extent include/trace/events/ext4.h:2082 [inline]
 ext4_ext_map_blocks+0xd78/0x6000 fs/ext4/extents.c:4091
 ext4_map_blocks+0x64f/0x1770 fs/ext4/inode.c:626
 ext4_alloc_file_blocks.isra.0+0x2ef/0xac0 fs/ext4/extents.c:4429
 ext4_fallocate+0x437/0x3e20 fs/ext4/extents.c:4710
 vfs_fallocate+0x48d/0x9d0 fs/open.c:309
 ioctl_preallocate+0x18e/0x200 fs/ioctl.c:494
 file_ioctl fs/ioctl.c:534 [inline]
 do_vfs_ioctl+0xdf9/0x1090 fs/ioctl.c:732
 __do_sys_ioctl fs/ioctl.c:751 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x108/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f80498e2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000013300 RCX: 000000000045deb9
RDX: 0000000020000040 RSI: 000000004030582a RDI: 0000000000000003
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffcdb970edf R14: 00007f80498e39c0 R15: 000000000118bf2c
Modules linked in:
CR2: ffffc90000f0d030
---[ end trace 5aa76c8400b45627 ]---
RIP: 0010:bpf_dispatcher_nop_func include/linux/bpf.h:647 [inline]
RIP: 0010:__bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline]
RIP: 0010:bpf_trace_run4+0x148/0x3f0 kernel/trace/bpf_trace.c:2100
Code: f7 ff 48 8d 7b 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a0 02 00 00 48 8d 73 38 48 8d 7c 24 28 <ff> 53 30 e8 b0 27 f7 ff e8 6b a0 6b 07 31 ff 89 c3 89 c6 e8 f0 1f
RSP: 0018:ffffc9000189f458 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffc90000f0d000 RCX: ffffffff8178e194
RDX: 0000000000000000 RSI: ffffc90000f0d038 RDI: ffffc9000189f480
RBP: 1ffff92000313e8c R08: 0000000000000000 R09: ffffffff8ebad667
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: 000000000002d000 R14: 000000001ab0e000 R15: ffff88806257e738
FS:  00007f80498e3700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000f0d030 CR3: 000000002f230000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/11 20:34 bpf-next 7112d127984b cca87986 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/11/07 01:08 bpf-next c6bde958a62b 64069d48 .config console log report info ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.