7.1

CVE-2025-21640: linux NULL Pointer Dereference

CVSS: 7.1v3.1HighModified
AliasesUBUNTU-CVE-2025-21640DEBIAN-CVE-2025-21640
Published 19-01-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-21640 is a high (CVSS 7.1) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 13.8% of scored vulnerabilities.

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

Advisory lineage

Upstream 0 · Downstream 50 · Related 47

Timeline

  1. 19-01-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: - Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns. - current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2). The 'net' structure can be obtained from the table->data using container_of(). Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.sctp_hmac_alg' is used.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

0.00 pp

From 0.24% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.24%

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

Ubuntu135 products
  • linuxAll versions (No fix recorded) | < 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-60.63
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1029.31
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 3c68198e75111a905ac2412be12bf7b29099729b, < 5599b212d2f4466e1832a94e9932684aaa364587 | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < 03ca51faba2b017bf6c90e139434c4117d0afcdc | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < 86ddf8118123cb58a0fb8724cad6979c4069065b | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < 3cd0659deb9c03535fd61839e91d4d4d3e51ac71 | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < ad673e514b2793b8d5902f6ba6ab7e890dea23d5 | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < f0bb3935470684306e4e04793a20ac4c4b08de0b | ≥ 3c68198e75111a905ac2412be12bf7b29099729b, < ea62dd1383913b5999f3d16ae99d411f41b528d4 | 3.8
  • linux_kernel≥ 3.8, < 6.1.125 | ≥ 6.2, < 6.6.72 | ≥ 6.7, < 6.12.10 | 6.13:rc1 | 6.13:rc2 | 6.13:rc3 | 6.13:rc4 | 6.13:rc5 | 6.13:rc6
Debian1 product
  • linux< 6.1.128-1 | < 6.12.10-1

3 vendors · 138 products

References

53 links
Show all 53 references