VDB

CVE-2026-23304

CVE-2026-23304 PUBLISHED

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.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.20-20.229.amzn2023
python3-perf6.12Amazon Linux1:6.12.77-99.140.amzn2023
kernel6.12Amazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-headersAmazon Linux1:6.12.77-99.140.amzn2023
kernel-modules-extraAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.18-develAmazon Linux1:6.18.20-20.229.amzn2023

Affected products

VendorProductVersions
LinuxLinux4832c30d5458387ff2533ff66fbde26ad8bb5a2d, 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, 4832c30d5458387ff2533ff66fbde26ad8bb5a2d
LinuxLinux4.14, 0, 5.10.253
amazon:2023python3-perf6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.120
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7, 3.1.5
amazon:2023kernel6.12-headers0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.5, 3.1.6, 3.1.7
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.12.77-99.1400
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023perf6.180
amazon:2023perf6.120
amazon:2023kernel-libbpf-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.7, 3.1.5, 3.1.6
SiemensSIMATIC 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›