BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 5b805067 P4D 5b805067 PUD 29f8e067 PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5213 Comm: syz.3.341 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc9000360f5d8 EFLAGS: 00010246
RAX: 1ffffffff1718e23 RBX: ffffffff8b8c7118 RCX: 0000000000000001
RDX: ffffc9000360f680 RSI: 0000000000000001 RDI: ffff8880200d8000
RBP: ffffc9000360f750 R08: ffffffff8568cbe1 R09: ffffed100401b008
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880200d8000
R13: ffff88807b480140 R14: ffffe8ffffd3f818 R15: dffffc0000000000
FS: 00007f6ea69f56c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000067fd9000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
bond_xdp_xmit+0x380/0x570 drivers/net/bonding/bond_main.c:5227
bq_xmit_all+0xc32/0x1000 kernel/bpf/devmap.c:388
__dev_flush+0xc9/0x1c0 kernel/bpf/devmap.c:418
xdp_do_flush+0xa/0x20 net/core/filter.c:3952
tun_build_skb drivers/net/tun.c:1703 [inline]
tun_get_user+0x2f4a/0x40f0 drivers/net/tun.c:1797
tun_chr_write_iter+0x10c/0x1e0 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+0xacd/0xe50 fs/read_write.c:594
ksys_write+0x1a2/0x2c0 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6ea857badf
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48
RSP: 002b:00007f6ea69f5000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6ea8734f80 RCX: 00007f6ea857badf
RDX: 0000000000000022 RSI: 00000000200001c0 RDI: 00000000000000c8
RBP: 00007f6ea85ef296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000022 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6ea8734f80 R15: 00007ffd9b2df1d8
</TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0d461c2f795df515 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
RSP: 0018:ffffc9000360f5d8 EFLAGS: 00010246
RAX: 1ffffffff1718e23 RBX: ffffffff8b8c7118 RCX: 0000000000000001
RDX: ffffc9000360f680 RSI: 0000000000000001 RDI: ffff8880200d8000
RBP: ffffc9000360f750 R08: ffffffff8568cbe1 R09: ffffed100401b008
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880200d8000
R13: ffff88807b480140 R14: ffffe8ffffd3f818 R15: dffffc0000000000
FS: 00007f6ea69f56c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000067fd9000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400