syzbot


BUG: unable to handle kernel NULL pointer dereference in bond_xdp_xmit

Status: upstream: reported on 2024/04/25 19:36
Reported-by: syzbot+eb9803c2147c3ba51ed1@syzkaller.appspotmail.com
First crash: 239d, last: 3h21m
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 66d 126d 0/3 upstream: reported on 2024/08/17 05:16

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 58bf8067 P4D 58bf8067 PUD 58ec3067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 13710 Comm: syz.1.3078 Tainted: G        W          6.1.121-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90003287078 EFLAGS: 00010246
RAX: 1ffffffff1726837 RBX: ffffffff8b9341b8 RCX: 0000000000000000
RDX: ffffc90003287120 RSI: 0000000000000001 RDI: ffff888030b98000
RBP: ffffc900032871f0 R08: ffffffff85b6bf61 R09: ffffed1006173008
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888030b98000 R14: ffffc90003287158 R15: ffffc90003287158
FS:  00007fe4588686c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000005d55d000 CR4: 00000000003506e0
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:4308 [inline]
 xdp_do_redirect_frame+0x491/0x660 net/core/filter.c:4373
 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:3685
 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038
 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5122 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122
 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:0x7fe457985d29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe458868038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fe457b75fa0 RCX: 00007fe457985d29
RDX: 0000000000000050 RSI: 00000000200000c0 RDI: 000000000000000a
RBP: 00007fe457a01aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe457b75fa0 R15: 00007ffe9ce167c8
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90003287078 EFLAGS: 00010246
RAX: 1ffffffff1726837 RBX: ffffffff8b9341b8 RCX: 0000000000000000
RDX: ffffc90003287120 RSI: 0000000000000001 RDI: ffff888030b98000
RBP: ffffc900032871f0 R08: ffffffff85b6bf61 R09: ffffed1006173008
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888030b98000 R14: ffffc90003287158 R15: ffffc90003287158
FS:  00007fe4588686c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000005d55d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (115):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/09/26 19:27 linux-6.1.y e526b12bf916 9314348a .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/26 00:07 linux-6.1.y e526b12bf916 0d19f247 .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/25 12:27 linux-6.1.y e526b12bf916 349a68c4 .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/24 17:37 linux-6.1.y e526b12bf916 5643e0e9 .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/23 13:57 linux-6.1.y e526b12bf916 89298aad .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/18 22:18 linux-6.1.y e526b12bf916 c673ca06 .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/16 18:27 linux-6.1.y 5f55cad62cc9 c673ca06 .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/14 23:13 linux-6.1.y 5f55cad62cc9 08d8a733 .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/14 11:07 linux-6.1.y 5f55cad62cc9 c7e35043 .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/12 14:02 linux-6.1.y 5f55cad62cc9 60e1a995 .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/11 22:23 linux-6.1.y 5ca5b389fddf d94c83d8 .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/10 18:29 linux-6.1.y 5ca5b389fddf 86aa7bd7 .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/09 16:03 linux-6.1.y 5ca5b389fddf 073f8be2 .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/08 09:27 linux-6.1.y 5ca5b389fddf 9750182a .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/07 22:37 linux-6.1.y 699506173494 9750182a .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/05 11:55 linux-6.1.y 699506173494 464ac2ed .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/03 01:41 linux-6.1.y 311d8503ef9f 8045124c .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/02 18:02 linux-6.1.y 311d8503ef9f 1eda0d14 .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/08/01 05:07 linux-6.1.y c1cec4dad96b 1e9c4cf3 .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/05/04 01:24 linux-6.1.y 909ba1f1b414 610f2a54 .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.