# CVE-2026-23304: ipv6: fix NULL pointer deref in ip6\_rt\_get\_dev\_rcu()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-03-25T10:26:59.015Z
- **Modified:** 2026-11-10T13:18:39.907Z

## Who should check

- Anyone running Linux \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< d542e2ac7f9e288d49735be0775611547ca4e0ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< a73fe9f4ae84a239d5b2686f47a58c158aee2eb4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 4a48fe59f29f673a3d042d679f26629a9c3e29d4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 581800298313c9fd75e94985e6d37d21b7e35d34; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 3310fc11fc47387d1dd4759b0bc961643ea11c7f; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 0b5a7826020706057cc5a9d9009e667027f221ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< ae88c8256547b63980770a9ea7be73a15900d27e; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a
- Anyone running Linux 4.14

## Description

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.

## Affected and fixed versions

- Linux: \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< d542e2ac7f9e288d49735be0775611547ca4e0ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< a73fe9f4ae84a239d5b2686f47a58c158aee2eb4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 4a48fe59f29f673a3d042d679f26629a9c3e29d4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 581800298313c9fd75e94985e6d37d21b7e35d34; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 3310fc11fc47387d1dd4759b0bc961643ea11c7f; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 0b5a7826020706057cc5a9d9009e667027f221ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< ae88c8256547b63980770a9ea7be73a15900d27e; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23304. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23304.md
Affected: Linux >= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, < d542e2ac7f9e288d49735be0775611547ca4e0ee; >= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, < a73fe9f4ae84a239d5b2686f47a58c158aee2eb4; >= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, < 4a48fe59f29f673a3d042d679f26629a9c3e29d4; >= 4832c30d5458387ff2533ff…
Fixed in: Linux 4a48fe59f29f673a3d042d679f26629a9c3e29d4, Linux 581800298313c9fd75e94985e6d37d21b7e35d34, Linux 3310fc11fc47387d1dd4759b0bc961643ea11c7f, Linux 0b5a7826020706057cc5a9d9009e667027f221ee, Linux 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23304 being exploited?

There is no confirmed exploitation: CVE-2026-23304 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23304?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23304?

Linux \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< d542e2ac7f9e288d49735be0775611547ca4e0ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< a73fe9f4ae84a239d5b2686f47a58c158aee2eb4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 4a48fe59f29f673a3d042d679f26629a9c3e29d4; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 581800298313c9fd75e94985e6d37d21b7e35d34; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 3310fc11fc47387d1dd4759b0bc961643ea11c7f; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 0b5a7826020706057cc5a9d9009e667027f221ee; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< ae88c8256547b63980770a9ea7be73a15900d27e; \>= 4832c30d5458387ff2533ff66fbde26ad8bb5a2d, \< 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a; Linux 4.14.

### Is there a fix for CVE-2026-23304?

Yes. Fixed in Linux 4a48fe59f29f673a3d042d679f26629a9c3e29d4, Linux 581800298313c9fd75e94985e6d37d21b7e35d34, Linux 3310fc11fc47387d1dd4759b0bc961643ea11c7f, Linux 0b5a7826020706057cc5a9d9009e667027f221ee, Linux 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a. Upgrade Linux to 2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a or later.

### How do I check if I'm affected by CVE-2026-23304?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d542e2ac7f9e288d49735be0775611547ca4e0ee>
- patch: <https://git.kernel.org/stable/c/a73fe9f4ae84a239d5b2686f47a58c158aee2eb4>
- patch: <https://git.kernel.org/stable/c/4a48fe59f29f673a3d042d679f26629a9c3e29d4>
- patch: <https://git.kernel.org/stable/c/581800298313c9fd75e94985e6d37d21b7e35d34>
- patch: <https://git.kernel.org/stable/c/3310fc11fc47387d1dd4759b0bc961643ea11c7f>
- patch: <https://git.kernel.org/stable/c/0b5a7826020706057cc5a9d9009e667027f221ee>
- patch: <https://git.kernel.org/stable/c/ae88c8256547b63980770a9ea7be73a15900d27e>
- patch: <https://git.kernel.org/stable/c/2ffb4f5c2ccb2fa1c049dd11899aee7967deef5a>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23304>

HTML: <https://flawdb.com/CVE-2026-23304> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23304>
