VULNERABILITY INTELLIGENCE

CVE-2025-21980

CVSS score5.5 MEDIUM
EPSS probability0.19%
CISA KEVNot currently listed
Published2025-04-01
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

Weakness classification

  • nvd@nist.gov: CWE-476
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-476

Primary references