Gateway crash via retained XFRM secpath
Published Feb 27, 2025 · Updated Aug 5, 2026
Denial of service in the Linux XFRM subsystem allows remote attackers to crash IPsec offload gateways with a forwarded packet. In forwarding mode, XFRM policy checking leaves a hardware-added secpath attached, so the packet reenters the driver transmit path with xfrm_offload set and calls a null set_iv_op pointer. IP forwarding and IPsec packet offload must both be enabled; a triggering inbound packet panics the kernel and forces a reboot.
Summary
What happened
Denial of service in the Linux XFRM subsystem allows remote attackers to crash IPsec offload gateways with a forwarded packet. In forwarding mode, XFRM policy checking leaves a hardware-added secpath attached, so the packet reenters the driver transmit path with xfrm_offload set and calls a null set_iv_op pointer. IP forwarding and IPsec packet offload must both be enabled; a triggering inbound packet panics the kernel and forces a reboot.
The record
- CVE
- CVE-2025-21720
- Published
- Feb 27, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 27, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=5958372ddf628fe6f4c3e49425734ad32fcfb13c <600258d555f0710b9c47fb78d2d80a4aecd608cc
- Affected versionversion=5958372ddf628fe6f4c3e49425734ad32fcfb13c <6945701ca1572f81bc9bb46f624b02eabb3eaf3e
- Affected versionversion=5958372ddf628fe6f4c3e49425734ad32fcfb13c <981ad4c882096e7375b8c2181dd4c3ee58ea5bae
- Affected versionversion=5958372ddf628fe6f4c3e49425734ad32fcfb13c <c6e1b2cac24b2a4d1dd472071021bf00c26450eb
- Affected versionversion=6.2
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
No public exploit references are available in this record.
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