syzbot


BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all (2)

Status: upstream: reported on 2024/10/29 09:51
Reported-by: syzbot+c5aa8700c2360f79e13a@syzkaller.appspotmail.com
First crash: 200d, last: 2d16h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all 48 2d02h 347d 0/3 upstream: reported on 2024/06/04 09:15
linux-5.15 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all 3 303d 362d 0/3 auto-obsoleted due to no activity on 2024/10/26 12:47
upstream KASAN: slab-use-after-free Read in bq_xmit_all bpf net C done 29 289d 302d 27/28 fixed on 2024/08/23 02:59

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=0000000117fb7000
[0000000000000000] pgd=08000001304eb003, p4d=08000001304eb003, pud=0800000127d1c003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 6353 Comm: syz.1.551 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : bond_xdp_xmit+0x254/0x404 drivers/net/bonding/bond_main.c:5228
sp : ffff8000202973a0
x29: ffff800020297460 x28: 0000000000000000 x27: ffff8000202973c8
x26: dfff800000000000 x25: ffff800012155138 x24: ffff0000ca7a8000
x23: fffffbffeff99920 x22: ffff0000e6768000 x21: fffffbffeff99920
x20: 0000000000000001 x19: 0000000000000000 x18: 0000000000000200
x17: 0000000000000002 x16: ffff8000082bdde4 x15: 0000000000000001
x14: 0000000000ff0100 x13: ffffffffffffffff x12: 0000000000080000
x11: 000000000000044d x10: ffff800021aea000 x9 : ffff800020297400
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000008 x3 : 0000000000000001
x2 : ffff800020297420 x1 : 0000000000000001 x0 : ffff0000ca7a8000
Call trace:
 0x0
 bq_xmit_all+0xc44/0x1020 kernel/bpf/devmap.c:391
 __dev_flush+0xc4/0x18c kernel/bpf/devmap.c:421
 xdp_do_flush+0x14/0x28 net/core/filter.c:3985
 tun_build_skb drivers/net/tun.c:1703 [inline]
 tun_get_user+0x2434/0x31c4 drivers/net/tun.c:1797
 tun_chr_write_iter+0xfc/0x20c drivers/net/tun.c:2019
 call_write_iter include/linux/fs.h:2172 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x7c8/0xa2c fs/read_write.c:594
 ksys_write+0x120/0x210 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:656
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: bad PC value
---[ end trace 06541c2ba2be680e ]---

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/15 06:05 linux-5.15.y 3b8db0e4f263 d6b2ee52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/05/13 19:11 linux-5.15.y 3b8db0e4f263 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/05/12 21:41 linux-5.15.y 3b8db0e4f263 f6671af7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/05/02 13:09 linux-5.15.y 16fdf2c7111b d7f099d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/04/10 02:50 linux-5.15.y 0c935c049b5c 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/04/07 17:23 linux-5.15.y 0c935c049b5c a2ada0e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/03/29 21:27 linux-5.15.y 0c935c049b5c d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/03/24 03:14 linux-5.15.y 0c935c049b5c 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/03/20 23:31 linux-5.15.y 0c935c049b5c 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/03/18 19:18 linux-5.15.y 0c935c049b5c 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/03/06 04:00 linux-5.15.y c16c81c81336 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/02/23 05:50 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/01/24 18:59 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/01/23 22:45 linux-5.15.y 003148680b79 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/01/10 07:33 linux-5.15.y 4735586da88e 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2025/01/03 20:49 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/12/19 04:37 linux-5.15.y 963e654022cc 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/12/17 12:00 linux-5.15.y 963e654022cc f93b2b55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/11/26 01:52 linux-5.15.y 0a51d2d4527b 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
2024/10/29 09:50 linux-5.15.y 74cdd62cb470 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in bq_xmit_all
* Struck through repros no longer work on HEAD.