CVE-2025-21640: linux NULL Pointer Dereference
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.
Advisory lineage
Upstream 0 · Downstream 50 · Related 47Timeline
- 19-01-2025PublishedVulnerability first disclosed.
- 15-10-2026Last 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- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected 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