CVE-2026-23304
ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu()
Reported by linux · Published March 25, 2026
In the Linux kernel, the following vulnerability has been resolved: ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu() l3mdev_master_dev_rcu() can return NULL when the slave device is being un-slaved from a VRF. All other callers deal with this, but we lost the fallback to loopback in ip6_rt_pcpu_alloc() -> ip6_rt_get_dev_rcu() with commit 4832c30d5458 ("net: ipv6: put host and anycast routes on device with address"). KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] RIP: 0010:ip6_rt_pcpu_alloc (net/ipv6/route.c:1418) Call Trace: ip6_pol_route (net/ipv6/route.c:2318) fib6_rule_lookup (net/ipv6/fib6_rules.c:115) ip6_route_output_flags (net/ipv6/route.c:2607) vrf_process_v6_outbound (drivers/net/vrf.c:437) I was tempted to rework the un-slaving code to clear the flag first and insert synchronize_rcu() before we remove the upper. But looks like the explicit fallback to loopback_dev is an established pattern. And I guess avoiding the synchronize_rcu() is nice, too.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, 4832c30d5458387ff2533ff66fbde26ad8bb5a2d |
| Linux | Linux | 4.14, 0, 5.10.253 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.7, 3.1.5 |
| amazon:2023 | kernel6.12-headers | 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-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.77-99.140 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.7, 3.1.5, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
…and 35 more
Timeline
- Mar 24, 2026 CVE Published
- Mar 25, 2026 EPSS Score (26 in total, the first dated here)
- Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Security Advisory (142 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (59 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23304
vulnetix vdb fixes CVE-2026-23304
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-23304/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart