DEBIAN-CVE-2025-21980
Record from OSV · Published April 1, 2025
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:14 | 6.12.20-1 |
| linux | Debian:13 | 6.12.20-1 |
| linux | Debian:12 | 6.1.133-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 0 |
| Debian:13 | linux | 0 |
| Debian:12 | linux | 6.1.106-1, 6.1.106-2, 6.1.106-3 |
Timeline
- Apr 1, 2025 CVE Published
- Sep 1, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-21980
vulnetix vdb fixes DEBIAN-CVE-2025-21980
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-21980/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart