CVE-2026-31546
net: bonding: fix NULL deref in bond_debug_rlb_hash_show
Reported by linux · Published April 24, 2026
In the Linux kernel, the following vulnerability has been resolved: net: bonding: fix NULL deref in bond_debug_rlb_hash_show rlb_clear_slave intentionally keeps RLB hash-table entries on the rx_hashtbl_used_head list with slave set to NULL when no replacement slave is available. However, bond_debug_rlb_hash_show visites client_info->slave without checking if it's NULL. Other used-list iterators in bond_alb.c already handle this NULL-slave state safely: - rlb_update_client returns early on !client_info->slave - rlb_req_update_slave_clients, rlb_clear_slave, and rlb_rebalance compare slave values before visiting - lb_req_update_subnet_clients continues if slave is NULL The following NULL deref crash can be trigger in bond_debug_rlb_hash_show: [ 1.289791] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 1.292058] RIP: 0010:bond_debug_rlb_hash_show (drivers/net/bonding/bond_debugfs.c:41) [ 1.293101] RSP: 0018:ffffc900004a7d00 EFLAGS: 00010286 [ 1.293333] RAX: 0000000000000000 RBX: ffff888102b48200 RCX: ffff888102b48204 [ 1.293631] RDX: ffff888102b48200 RSI: ffffffff839daad5 RDI: ffff888102815078 [ 1.293924] RBP: ffff888102815078 R08: ffff888102b4820e R09: 0000000000000000 [ 1.294267] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888100f929c0 [ 1.294564] R13: ffff888100f92a00 R14: 0000000000000001 R15: ffffc900004a7ed8 [ 1.294864] FS: 0000000001395380(0000) GS:ffff888196e75000(0000) knlGS:0000000000000000 [ 1.295239] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.295480] CR2: 0000000000000000 CR3: 0000000102adc004 CR4: 0000000000772ef0 [ 1.295897] Call Trace: [ 1.296134] seq_read_iter (fs/seq_file.c:231) [ 1.296341] seq_read (fs/seq_file.c:164) [ 1.296493] full_proxy_read (fs/debugfs/file.c:378 (discriminator 1)) [ 1.296658] vfs_read (fs/read_write.c:572) [ 1.296981] ksys_read (fs/read_write.c:717) [ 1.297132] do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) [ 1.297325] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Add a NULL check and print "(none)" for entries with no assigned slave.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-static | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| Linux | Linux | edacf1613f7b26423ebfa8b2892e7453c4235354, 2ec2c777f357a83c3d503d8d9370c90b60f0ae63, 2.6.38, 19f0fd87df0e5746b24f5caa465a66a8c6e6e241 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | caafa84251b886feb6cdf23d50e2cc99dcdaaaf3, caafa84251b886feb6cdf23d50e2cc99dcdaaaf3, caafa84251b886feb6cdf23d50e2cc99dcdaaaf3 |
| Linux | Linux | 2.6.38, 0, 5.10.253 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.18.20-20.229 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.7, 3.1.5, 3.1.6 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.1.168-202.320 | 0 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | bpftool | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.5, 3.1.6, 3.1.7 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5, 3.1.6, 3.1.7 |
…and 34 more
Timeline
- Apr 24, 2026 CVE Published
- Apr 24, 2026 Security Advisory (102 in total, the first dated here)
- Apr 28, 2026 CVE Updated
- May 18, 2026 EPSS Score (27 in total, the first dated here)
- Jul 18, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (97 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31546
vulnetix vdb fixes CVE-2026-31546
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31546/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart