Kernel resource leak via orphaned IPComp tunnels
Published Dec 4, 2025 · Updated May 11, 2026
Resource leakage in the Linux kernel 6.16 through 6.17.9 allows local users to consume kernel resources through failed IPComp state creation. xfrm_state_gc_destroy omits xfrm_state_delete_tunnel when a fully initialized state fails before list insertion, leaving its fallback tunnel linked. Reaching the affected add, update, or migration paths requires local low-privileged access, and the documented consequence is an orphaned fallback tunnel rather than code execution.
Summary
What happened
Resource leakage in the Linux kernel 6.16 through 6.17.9 allows local users to consume kernel resources through failed IPComp state creation. xfrm_state_gc_destroy omits xfrm_state_delete_tunnel when a fully initialized state fails before list insertion, leaving its fallback tunnel linked. Reaching the affected add, update, or migration paths requires local low-privileged access, and the documented consequence is an orphaned fallback tunnel rather than code execution.
The record
- CVE
- CVE-2025-40256
- Published
- Dec 4, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 4, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0da961fa46da1b37ef868d9b603bd202136f8f8e <64441724387b4ac92f67ef51caaaeffe99c950d1
- Affected versionversion=1b28a7fae0128fa140a7dccd995182ff6cd1c67b <57b72d74d4651dc19d046308a8304eb9abfe66ac
- Affected versionversion=4b2c17d0f9be8b58bb30468bc81a4b61c985b04e <1dad653643f28ccc89be93f9440b8804cded85b2
- Affected versionversion=6.16
- Affected versionversion=b441cf3f8c4b8576639d20c8eb4aa32917602ecd <10deb69864840ccf96b00ac2ab3a2055c0c04721
- Affected versionversion=b441cf3f8c4b8576639d20c8eb4aa32917602ecd <d6fe5c740c573af10943b8353992e1325cdb2715
- Affected versionversion=d0e0d1097118461463b76562c7ebaabaa5b90b13 <763e5c351206c1e4d910db4a1159053f6263689c
- Affected versionversion=dc3636912d41770466543623cb76e7b88fdb42c7 <f7d879c19d306512c2e260f37e8a3e5c85e37c50
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot XFRM state reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo