CVE-2025-21980sched: address a potential NULL pointer dereference in the GRED scheduler.
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: sched: address a potential NULL pointer dereference in the GRED scheduler. If kzalloc in gred_init returns a NULL pointer, the code follows the error handling path, invoking gred_destroy. This, in turn, calls gred_offload, where memset could receive a NULL pointer as input, potentially leading to a kernel crash. When table->opt is NULL in gred_init(), gred_change_table_def() is not called yet, so it is not necessary to call ->ndo_setup_tc() in gred_offload().
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f25c0515c521375154c62c72447869f40218c861 – < d02c9acd68950a444acda18d514e2b41f846cb7f
- affected f25c0515c521375154c62c72447869f40218c861 – < 0f0a152957d64ce45b4c27c687e7d087e8f45079
- affected f25c0515c521375154c62c72447869f40218c861 – < 68896dd50180b38ea552e49a6a00b685321e5769
- affected f25c0515c521375154c62c72447869f40218c861 – < 5f996b4f80c2cef1f9c77275055e7fcba44c9199
- affected f25c0515c521375154c62c72447869f40218c861 – < 115ef44a98220fddfab37a39a19370497cd718b9
- affected 5.16
- unaffected < 5.16
- unaffected 6.1.132 – ≤ 6.1.*
- unaffected 6.6.84 – ≤ 6.6.*
- unaffected 6.12.20 – ≤ 6.12.*
- unaffected 6.13.8 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References6
- https://git.kernel.org/stable/c/d02c9acd68950a444acda18d514e2b41f846cb7f (opens in a new tab)
- https://git.kernel.org/stable/c/0f0a152957d64ce45b4c27c687e7d087e8f45079 (opens in a new tab)
- https://git.kernel.org/stable/c/68896dd50180b38ea552e49a6a00b685321e5769 (opens in a new tab)
- https://git.kernel.org/stable/c/5f996b4f80c2cef1f9c77275055e7fcba44c9199 (opens in a new tab)
- https://git.kernel.org/stable/c/115ef44a98220fddfab37a39a19370497cd718b9 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9340 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21980)Record last updated .