CVE-2025-21980

MEDIUM

Linux Kernel 5.16-6.1.131, 6.2-6.6.83, 6.7-6.12.19, 6.13-6.13.7 - NULL Pointer Dereference in GRED Scheduler

Title source: llm
STIX 2.1

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

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (18)
linux/Kernel 5.16.0 - 6.1.132linux
linux/Kernel 6.13.0 - 6.13.8linux
linux/Kernel 6.2.0 - 6.6.84linux
linux/Kernel 6.7.0 - 6.12.20linux
Linux/Linux < 5.16
Linux/Linux 5.16
Linux/Linux 6.1.132 - 6.1.*
Linux/Linux 6.12.20 - 6.12.*
Linux/Linux 6.13.8 - 6.13.*
Linux/Linux 6.14
... and 8 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026