syzbot


BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit

Status: upstream: reported C repro on 2024/04/25 19:36
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+eb9803c2147c3ba51ed1@syzkaller.appspotmail.com
First crash: 287d, last: 2h41m
Bug presence (2)
Date Name Commit Repro Result
2025/01/05 linux-6.1.y (ToT) 7dc732d24ff7 C [report] BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/05 upstream (ToT) ab75170520d4 C Didn't crash
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 bond_xdp_xmit 5 114d 174d 0/3 auto-obsoleted due to no activity on 2025/01/23 16:27

Sample crash report:
netlink: 'syz-executor764': attribute type 10 has an invalid length.
8021q: adding VLAN 0 to HW filter on device team0
bond0: (slave team0): Enslaving as an active interface with an up link
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1eb26067 P4D 1eb26067 PUD 1eb25067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4251 Comm: syz-executor764 Not tainted 6.1.123-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 0xffffffffffffffd6.
RSP: 0018:ffffc90003d47078 EFLAGS: 00010246
RAX: 1ffffffff1728f3b RBX: ffffffff8b9479d8 RCX: 0000000000000000
RDX: ffffc90003d47120 RSI: 0000000000000001 RDI: ffff88802f560000
RBP: ffffc90003d471f0 R08: ffffffff85b6da91 R09: ffffed1005eac008
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88802f560000 R14: ffffc90003d47158 R15: ffffc90003d47158
FS:  000055557a92d380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000027dd0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bond_xdp_xmit+0x3fd/0x650 drivers/net/bonding/bond_main.c:5589
 bq_xmit_all+0xe73/0x12e0 kernel/bpf/devmap.c:392
 bq_enqueue+0x324/0x3b0 kernel/bpf/devmap.c:457
 dev_map_enqueue_multi+0xf8d/0x1100 kernel/bpf/devmap.c:656
 __xdp_do_redirect_frame net/core/filter.c:4317 [inline]
 xdp_do_redirect_frame+0x491/0x660 net/core/filter.c:4382
 xdp_test_run_batch net/bpf/test_run.c:314 [inline]
 bpf_test_run_xdp_live+0xbf4/0x1ea0 net/bpf/test_run.c:362
 bpf_prog_test_run_xdp+0x7d1/0x1130 net/bpf/test_run.c:1393
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3690
 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5043
 __do_sys_bpf kernel/bpf/syscall.c:5129 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5127 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5127
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fbcfd45e1d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 1a 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd434c5f18 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fbcfd45e1d9
RDX: 0000000000000050 RSI: 00000000200000c0 RDI: 000000000000000a
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90003d47078 EFLAGS: 00010246
RAX: 1ffffffff1728f3b RBX: ffffffff8b9479d8 RCX: 0000000000000000
RDX: ffffc90003d47120 RSI: 0000000000000001 RDI: ffff88802f560000
RBP: ffffc90003d471f0 R08: ffffffff85b6da91 R09: ffffed1005eac008
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88802f560000 R14: ffffc90003d47158 R15: ffffc90003d47158
FS:  000055557a92d380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000027dd0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (139):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/05 04:39 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/02/07 09:56 linux-6.1.y 0cbb5f65e52f 53657d1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/02/06 20:28 linux-6.1.y 0cbb5f65e52f 8002dd28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/02/03 14:24 linux-6.1.y 0cbb5f65e52f a21a8419 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/02/01 23:39 linux-6.1.y 0cbb5f65e52f 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/29 06:43 linux-6.1.y 75cefdf153f5 865ef71e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/29 05:39 linux-6.1.y 75cefdf153f5 865ef71e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/13 13:37 linux-6.1.y c63962be84ef 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/09 16:45 linux-6.1.y c63962be84ef 9220929f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/09 13:22 linux-6.1.y 7dc732d24ff7 9220929f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/07 08:40 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/05 18:00 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2025/01/04 14:59 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/31 09:59 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/30 17:40 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/27 18:16 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/25 14:37 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/23 23:17 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/22 13:40 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/21 11:32 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/21 01:33 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/19 22:25 linux-6.1.y 29f02ec58a94 5905cb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/19 04:24 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/17 23:03 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/16 14:07 linux-6.1.y 52f863f820fd eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/12 05:09 linux-6.1.y e4d90d63d385 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/11 14:55 linux-6.1.y e4d90d63d385 ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/09 14:03 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/09 09:18 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/03 04:22 linux-6.1.y e4d90d63d385 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/12/02 15:10 linux-6.1.y e4d90d63d385 b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/27 08:32 linux-6.1.y e4d90d63d385 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/26 13:34 linux-6.1.y e4d90d63d385 e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/23 01:35 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/22 18:50 linux-6.1.y e4d90d63d385 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/22 10:35 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/19 20:06 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/06 23:34 linux-6.1.y 7c15117f9468 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/11/02 17:04 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/18 23:50 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/16 01:24 linux-6.1.y aa4cd140bba5 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/15 12:46 linux-6.1.y aa4cd140bba5 7eb57b4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/15 00:23 linux-6.1.y aa4cd140bba5 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/11 08:36 linux-6.1.y aa4cd140bba5 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/10 17:54 linux-6.1.y aa4cd140bba5 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/10 04:50 linux-6.1.y aa4cd140bba5 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/08 10:33 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/10/06 15:51 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/09/28 13:53 linux-6.1.y e526b12bf916 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/09/27 21:26 linux-6.1.y e526b12bf916 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
2024/04/25 19:36 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit
* Struck through repros no longer work on HEAD.