syzbot


BUG: unable to handle kernel paging request in bpf_prog_ADDR

Status: upstream: reported C repro on 2025/07/20 09:48
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+e3a55fc3331942c2caaf@syzkaller.appspotmail.com
First crash: 239d, last: 8d20h
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/07/20 linux-6.6.y (ToT) d96eb99e2f0e C [report] BUG: unable to handle kernel paging request in bpf_prog_ADDR
2025/07/20 upstream (ToT) f4a40a4282f4 C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in bpf_prog_ADDR (3) bpf net 8 C done 6 611d 611d 28/29 fixed on 2024/10/22 11:56
upstream BUG: unable to handle kernel paging request in bpf_prog_ADDR kernel 8 C done 13 2416d 2432d 12/29 fixed on 2019/08/27 17:15
upstream BUG: unable to handle kernel paging request in bpf_prog_ADDR (4) cgroups 8 7 218d 215d 0/29 auto-obsoleted due to no activity on 2025/11/18 19:59
upstream BUG: sleeping function called from invalid context in do_user_addr_fault (2) 8 syz done error 27 1343d 1907d 0/29 auto-obsoleted due to no activity on 2023/12/05 09:08
upstream BUG: unable to handle kernel paging request in bpf_prog_ADDR (2) bpf 8 C 3 692d 706d 25/29 fixed on 2024/06/05 13:52
upstream BUG: unable to handle kernel NULL pointer dereference in bpf_prog_ADDR net bpf 10 syz error error 19 1738d 2052d 0/29 auto-obsoleted due to no activity on 2023/04/14 06:50
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2026/01/18 01:01 1h57m fix candidate upstream OK (0) job log
2025/11/03 10:11 1h56m bisect fix linux-6.6.y OK (0) job log
2025/09/24 08:47 1h46m bisect fix linux-6.6.y OK (0) job log log
2025/08/21 11:46 1h34m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
BUG: unable to handle page fault for address: 000000005ed44c40
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 751b7067 P4D 751b7067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5926 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:bpf_prog_40e58f572301565e+0x5c/0x9f
Code: 0a b8 02 00 00 00 41 5d 5b c9 c3 48 89 df 48 8b b7 d8 00 00 00 48 63 f6 48 8b 57 50 48 89 f0 48 83 c0 08 48 39 c2 77 02 eb dc <48> 0f b7 5e 00 49 89 dd 48 81 fb 0f ff 07 00 74 00 48 c1 e3 20 66
RSP: 0018:ffffc90003377aa0 EFLAGS: 00010286
RAX: 000000005ed44c48 RBX: 0000000000000000 RCX: ffff888077babc00
RDX: ffff88805ed44c4e RSI: 000000005ed44c40 RDI: ffff88807579c500
RBP: ffffc90003377ab0 R08: ffffffff8e8aeeef R09: 1ffffffff1d15ddd
R10: dffffc0000000000 R11: fffffbfff1d15dde R12: ffffc90002eb2030
R13: ffffc90003377d00 R14: 0000000000000000 R15: dffffc0000000000
FS:  000055556ac32500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000005ed44c40 CR3: 000000007543f000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 bpf_dispatcher_nop_func include/linux/bpf.h:1224 [inline]
 __bpf_prog_run include/linux/filter.h:616 [inline]
 bpf_prog_run include/linux/filter.h:623 [inline]
 bpf_test_run+0x2df/0x870 net/bpf/test_run.c:424
 bpf_prog_test_run_skb+0xad2/0x12b0 net/bpf/test_run.c:1058
 bpf_prog_test_run+0x321/0x390 kernel/bpf/syscall.c:4132
 __sys_bpf+0x49d/0x890 kernel/bpf/syscall.c:5494
 __do_sys_bpf kernel/bpf/syscall.c:5580 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5578 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5578
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f00d159c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe35fc8d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f00d1815fa0 RCX: 00007f00d159c799
RDX: 000000000000004c RSI: 00002000000011c0 RDI: 000000000000000a
RBP: 00007f00d1632bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f00d1815fac R14: 00007f00d1815fa0 R15: 00007f00d1815fa0
 </TASK>
Modules linked in:
CR2: 000000005ed44c40
---[ end trace 0000000000000000 ]---
RIP: 0010:bpf_prog_40e58f572301565e+0x5c/0x9f
Code: 0a b8 02 00 00 00 41 5d 5b c9 c3 48 89 df 48 8b b7 d8 00 00 00 48 63 f6 48 8b 57 50 48 89 f0 48 83 c0 08 48 39 c2 77 02 eb dc <48> 0f b7 5e 00 49 89 dd 48 81 fb 0f ff 07 00 74 00 48 c1 e3 20 66
RSP: 0018:ffffc90003377aa0 EFLAGS: 00010286
RAX: 000000005ed44c48 RBX: 0000000000000000 RCX: ffff888077babc00
RDX: ffff88805ed44c4e RSI: 000000005ed44c40 RDI: ffff88807579c500
RBP: ffffc90003377ab0 R08: ffffffff8e8aeeef R09: 1ffffffff1d15ddd
R10: dffffc0000000000 R11: fffffbfff1d15dde R12: ffffc90002eb2030
R13: ffffc90003377d00 R14: 0000000000000000 R15: dffffc0000000000
FS:  000055556ac32500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000005ed44c40 CR3: 000000007543f000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
   0:	0a b8 02 00 00 00    	or     0x2(%rax),%bh
   6:	41 5d                	pop    %r13
   8:	5b                   	pop    %rbx
   9:	c9                   	leave
   a:	c3                   	ret
   b:	48 89 df             	mov    %rbx,%rdi
   e:	48 8b b7 d8 00 00 00 	mov    0xd8(%rdi),%rsi
  15:	48 63 f6             	movslq %esi,%rsi
  18:	48 8b 57 50          	mov    0x50(%rdi),%rdx
  1c:	48 89 f0             	mov    %rsi,%rax
  1f:	48 83 c0 08          	add    $0x8,%rax
  23:	48 39 c2             	cmp    %rax,%rdx
  26:	77 02                	ja     0x2a
  28:	eb dc                	jmp    0x6
* 2a:	48 0f b7 5e 00       	movzwq 0x0(%rsi),%rbx <-- trapping instruction
  2f:	49 89 dd             	mov    %rbx,%r13
  32:	48 81 fb 0f ff 07 00 	cmp    $0x7ff0f,%rbx
  39:	74 00                	je     0x3b
  3b:	48 c1 e3 20          	shl    $0x20,%rbx
  3f:	66                   	data16

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/08 04:03 linux-6.6.y 4fc00fe35d46 5cb44a80 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan BUG: unable to handle kernel paging request in bpf_prog_ADDR
2025/07/20 09:48 linux-6.6.y d96eb99e2f0e 7117feec .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf BUG: unable to handle kernel paging request in bpf_prog_ADDR
* Struck through repros no longer work on HEAD.