All reports
Medium

kernel: ipv6: use RCU in ip6_output()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40158

Probability of exploitation in the next 30 days: 0.59%

FIRST EPSS · 2026-11-20

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 use-after-free flaw was found in ip6_finish_output2 in net/ipv6/ip6_output.c in ipv6 access. This flaw could allow an attacker to crash the system at device disconnect. This vulnerability could even lead to a kernel information leak problem.