MEDIUM · CVSS 5.5 Published: 2025-04-01

CVE-2025-21980 — Technical Security Advisory & CVSS Profile

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().

Technical Metadata

IdentifierCVE-2025-21980
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationCWE-476
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-21981 MEDIUM 5.5
CVE-2025-21977 MEDIUM 5.5
CVE-2025-21978 MEDIUM 5.5
CVE-2025-21982 MEDIUM 5.5
CVE-2025-21986 MEDIUM 5.5
CVE-2025-21987 MEDIUM 5.5