CVE-2025-40074: ipv4: start using dst_dev_rcu()
In the Linux kernel, the following vulnerability has been resolved:
ipv4: start using dstdevrcu()
Change icmpv4xrlimallow(), ipdefrag() to prevent possible UAF.
Change ipmrpreparexmit(), ipmrqueuefwdxmit(), ipmroutput(), ipv4neighlookup() to use lockdep enabled dstdevrcu().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.157.1-1 - Upgrade
Upgrade
ubuntu/linux-aws-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8~24.04.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1035.38 - Upgrade
Upgrade
ubuntu/linux-oem-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1011.11 - Upgrade
Upgrade
ubuntu/linux-oracle-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-realtime-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1006.7~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 6.17.0-14.14 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 6.17.0-1006.7 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 6.17.0-14.14.1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40074?
CVE-2025-40074 has been rated as having a medium severity level due to the potential for user-after-free vulnerabilities.
How do I fix CVE-2025-40074?
To fix CVE-2025-40074, ensure that your Linux kernel is updated to the latest stable version where this vulnerability has been resolved.
Which versions of the Linux kernel are affected by CVE-2025-40074?
CVE-2025-40074 potentially affects earlier versions of the Linux kernel prior to the patches provided in the latest stable updates.
What are the main components affected in CVE-2025-40074?
CVE-2025-40074 affects functions such as icmpv4_xrlim_allow() and ip_defrag() within the IPv4 stack of the Linux kernel.
Is CVE-2025-40074 exploited in the wild?
As of now, there are no reported cases of CVE-2025-40074 being actively exploited in the wild.