7.8

CVE-2025-21864: linux NULL Pointer Dereference

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-21864DEBIAN-CVE-2025-21864
Published 12-03-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-21864 is a high (CVSS 7.8) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.8% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 24 · Related 19

Timeline

  1. 12-03-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: drop secpath at the same time as we currently drop dst Xiumei reported hitting the WARN in xfrm6_tunnel_net_exit while running tests that boil down to: - create a pair of netns - run a basic TCP test over ipcomp6 - delete the pair of netns The xfrm_state found on spi_byaddr was not deleted at the time we delete the netns, because we still have a reference on it. This lingering reference comes from a secpath (which holds a ref on the xfrm_state), which is still attached to an skb. This skb is not leaked, it ends up on sk_receive_queue and then gets defer-free'd by skb_attempt_defer_free. The problem happens when we defer freeing an skb (push it on one CPU's defer_list), and don't flush that list before the netns is deleted. In that case, we still have a reference on the xfrm_state that we don't expect at this point. We already drop the skb's dst in the TCP receive path when it's no longer needed, so let's also drop the secpath. At this point, tcp_filter has already called into the LSM hooks that may require the secpath, so it should not be needed anymore. However, in some of those places, the MPTCP extension has just been attached to the skb, so we cannot simply drop all extensions.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

+0.05 pp

From 0.23% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu107 products
  • linux< 6.8.0-78.78
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1035.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 68822bdf76f10c3dc80609d4e2cdc1e847429086, < 87858bbf21da239ace300d61dd209907995c0491 | ≥ 68822bdf76f10c3dc80609d4e2cdc1e847429086, < f1d5e6a5e468308af7759cf5276779d3155c5e98 | ≥ 68822bdf76f10c3dc80609d4e2cdc1e847429086, < cd34a07f744451e2ecf9005bb7d24d0b2fb83656 | ≥ 68822bdf76f10c3dc80609d4e2cdc1e847429086, < 69cafd9413084cd5012cf5d7c7ec6f3d493726d9 | ≥ 68822bdf76f10c3dc80609d4e2cdc1e847429086, < 9b6412e6979f6f9e0632075f8f008937b5cd4efd | 5.19
  • linux_kernel≥ 5.19, < 6.1.130 | ≥ 6.2, < 6.6.80 | ≥ 6.7, < 6.12.17 | ≥ 6.13, < 6.13.5 | 6.14:rc1 | 6.14:rc2 | 6.14:rc3
Debian1 product
  • linux< 6.1.133-1 | < 6.12.17-1

3 vendors · 110 products

References

24 links
Show all 24 references