CVE-2025-40256
Patch priority
RegularFix with the next regular update.
- CVSS
- –
- Severity
- –
- EPSS
- 0.2 %
- Percentile
- 14
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- How an attack works has not been rated yet.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added In commit b441cf3f8c4b ("xfrm: delete x->tunnel as we delete x"), I missed the case where state creation fails between full initialization (->init_state has been called) and being inserted on the lists. In this situation, ->init_state has been called, so for IPcomp tunnels, the fallback tunnel has been created and added onto the lists, but the user state never gets added, because we fail before that. The user state doesn't go through __xfrm_state_delete, so we don't call xfrm_state_delete_tunnel for those states, and we end up leaking the FB tunnel. There are several codepaths affected by this: the add/update paths, in both net/key and xfrm, and the migrate code (xfrm_migrate, xfrm_state_migrate). A "proper" rollback of the init_state work would probably be doable in the add/update code, but for migrate it gets more complicated as multiple states may be involved. At some point, the new (not-inserted) state will be destroyed, so call xfrm_state_delete_tunnel during xfrm_state_gc_destroy. Most states will have their fallback tunnel cleaned up during __xfrm_state_delete, which solves the issue that b441cf3f8c4b (and other patches before it) aimed at. All states (including FB tunnels) will be removed from the lists once xfrm_state_fini has called flush_work(&xfrm_state_gc_work).
- Published
- 04.12.2025
- Modified
- 19.10.2026
- Status
- Deferred
Vendor updates
31- SUSE: SUSE-SU-2026:5374-1 – Security update for the Linux Kernel 19.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20876-1 – Security update for the Linux Kernel 30.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20845-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20872-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20794-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20819-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20772-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20564-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20498-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20520-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20477-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20479-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0617-1 – Security update for the Linux Kernel 24.02.2026 · HIGH · Patch day
- Ubuntu: USN-8029-3 – Linux kernel (Azure) vulnerabilities 24.02.2026 · Critical · Patch day
- Ubuntu: USN-8048-1 – Linux kernel (OEM) vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-2 – Linux kernel vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8030-1 – Linux kernel (GCP) vulnerabilities 12.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-1 – Linux kernel vulnerabilities 12.02.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:0411-1 – Security update for the Linux Kernel 10.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20220-1 – Security update for the Linux Kernel 05.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20228-1 – Security update for the Linux Kernel 05.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20207-1 – Security update for the Linux Kernel 04.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0369-1 – Security update for the Linux Kernel 03.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0350-1 – Security update for the Linux Kernel 30.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0317-1 – Security update for the Linux Kernel 28.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0315-1 – Security update for the Linux Kernel 28.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0316-1 – Security update for the Linux Kernel 28.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0293-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0281-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0278-1 – Security update for the Linux Kernel 23.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0263-1 – Security update for the Linux Kernel 23.01.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.