CVE-2025-40158

Source
https://cve.org/CVERecord?id=CVE-2025-40158
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40158.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40158
Downstream
ALSA (4)
AZL (1)
BELL (1)
CLSA (6)
DEBIAN (1)
ECHO (1)
OESA (3)
openSUSE (1)
RHSA (12)
RLSA (3)
ROOT (5)
SUSE (13)
UBUNTU (1)
Related
Published
2025-11-12T10:23:29Z
Modified
2026-11-01T02:31:04Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ipv6: use RCU in ip6_output()
Details

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().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40158.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36
Fixed
4549ce1057363c8dc072f40c6aa591c279eafed2
Fixed
423895685f367b5a0a956bd14b02df0192bded4c
Fixed
92803b826e40e49a5e8a6e208f4b4574e9d19426
Fixed
0393f85c3241c19ba8550f04a812e7d19f6b3082
Fixed
11709573cc4e48dc34c80fc7ab9ce5b159e29695

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40158.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
6.1.191
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.160
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40158.json"