CVE-2025-40158 Details
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().
A vulnerability related to improper memory management in the IPv6 output function of the Linux kernel has been addressed. The issue involved a potential use-after-free (UAF) vulnerability, which could arise from not using Read-Copy-Update (RCU) synchronization properly. This vulnerability was present in the Linux kernel stable tree. The root cause was the function 'dst_dev()' not being used in a way that prevented UAF, which could lead to memory safety issues. The vulnerability could be exploited in scenarios where the IPv6 output function is used, potentially leading to memory corruption or other unintended behavior.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0393f85c3241c19ba8550f04a812e7d19f6b3082 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/11709573cc4e48dc34c80fc7ab9ce5b159e29695 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/423895685f367b5a0a956bd14b02df0192bded4c | kernel.org | |
| https://git.kernel.org/stable/c/4549ce1057363c8dc072f40c6aa591c279eafed2 | kernel.org | |
| https://git.kernel.org/stable/c/92803b826e40e49a5e8a6e208f4b4574e9d19426 | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 21, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion