CVE-2025-21980: sched: address a potential NULL pointer dereference in the GRED scheduler.
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().
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel denial-of-service issue. A local user with some privileges could trigger a NULL pointer dereference in the GRED traffic scheduler during an allocation failure path, potentially crashing the kernel. The impact is availability, not data theft or code execution based on the provided sources.
Executive priority
Treat this as a moderate availability risk. It does not indicate remote compromise or data exposure from the provided evidence, but kernel crashes can disrupt production services. Patch through normal kernel maintenance, with faster handling for shared or high-availability systems.
Technical view
CVE-2025-21980 is a CWE-476 NULL pointer dereference in the Linux kernel GRED scheduler. If kzalloc fails during gred_init, error handling calls gred_destroy, then gred_offload, where memset may receive a NULL table->opt pointer. CVSS 3.1 is 5.5: local, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is mainly Linux systems running affected kernel versions or vendor kernels without the referenced stable fixes. The CVE data lists Linux kernel versions around 5.16 through 6.14 as affected, but distribution backports can change practical exposure.
Exploitation context
The provided sources do not show active exploitation, and KEV is false. Exploitation is local and requires low privileges according to the CVSS vector. The realistic business risk is a kernel crash causing service disruption on multi-user or workload-dense systems.
Researcher notes
The vulnerability is narrowly described as an error-path NULL dereference in GRED offload handling. No exploit details, proof-of-concept, or active exploitation evidence appears in the supplied bundle. Version data is kernel-centric, so distribution-specific exposure requires vendor package mapping.
Mitigation direction
Apply vendor kernel updates that include the referenced stable fixes.
Check Linux distribution advisories for backported patched kernel packages.
Prioritize shared servers, container hosts, and systems with local user access.
Reduce unnecessary local access while patching is pending.
Reboot into the patched kernel after package installation.
Validation and detection
Inventory running Linux kernel versions across affected assets.
Compare vendor kernel packages against the CVE and stable-fix references.
Confirm systems booted into the patched kernel after updates.
Review distribution advisories, including Debian LTS, for package-specific status.
Monitor for unexplained kernel crashes until remediation is complete.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.