syzbot


BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all

Status: upstream: reported on 2024/06/04 09:15
Reported-by: syzbot+8613615616552a1b83b8@syzkaller.appspotmail.com
First crash: 14d, last: 3d06h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all 1 29d 29d 0/3 upstream: reported on 2024/05/20 11:01

Sample crash report:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
  ESR = 0x0000000086000006
  EC = 0x21: IABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
user pgtable: 4k pages, 48-bit VAs, pgdp=0000000129ea2000
[0000000000000000] pgd=080000012f459003, p4d=080000012f459003, pud=080000012e39e003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 9441 Comm: syz-executor.4 Not tainted 6.1.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : bond_xdp_xmit+0x34c/0x588 drivers/net/bonding/bond_main.c:5546
sp : ffff80001e0d6ea0
x29: ffff80001e0d7000 x28: 1ffff00003c1adf2 x27: ffff0000eec40000
x26: ffff0000f326b198 x25: 1ffff00003c1adf6 x24: ffff80001e0d6f80
x23: ffff80001e0d6f60 x22: dfff800000000000 x21: fffffbffeff3d4d8
x20: ffff800014398ef8 x19: 0000000000000000 x18: 1ffff00003c1adec
x17: 0000000000000000 x16: ffff8000083037a8 x15: 0000000000000002
x14: 0000000000000001 x13: ffff0000d8410000 x12: 0000000000040000
x11: 0000000000002a56 x10: ffff80001e679000 x9 : ffff80000ca75658
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
x2 : ffff80001e0d6f60 x1 : 0000000000000001 x0 : ffff0000eec40000
Call trace:
 0x0
 bq_xmit_all+0xb48/0xffc kernel/bpf/devmap.c:389
 bq_enqueue+0x288/0x30c kernel/bpf/devmap.c:454
 dev_map_enqueue_multi+0xc80/0xdac kernel/bpf/devmap.c:653
 __xdp_do_redirect_frame net/core/filter.c:4276 [inline]
 xdp_do_redirect_frame+0x400/0x5a8 net/core/filter.c:4341
 xdp_test_run_batch net/bpf/test_run.c:314 [inline]
 bpf_test_run_xdp_live+0x9a4/0x18a0 net/bpf/test_run.c:362
 bpf_prog_test_run_xdp+0x670/0xf60 net/bpf/test_run.c:1387
 bpf_prog_test_run+0x2dc/0x364 kernel/bpf/syscall.c:3670
 __sys_bpf+0x390/0x654 kernel/bpf/syscall.c:5023
 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5107 [inline]
 __arm64_sys_bpf+0x80/0x98 kernel/bpf/syscall.c:5107
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: bad PC value
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/15 06:24 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/06/11 17:25 linux-6.1.y 88690811da69 b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/06/05 21:23 linux-6.1.y 88690811da69 5aa1a7c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/06/04 09:14 linux-6.1.y 88690811da69 a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
* Struck through repros no longer work on HEAD.