CVE-2025-21980

Medium

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

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedApr 1, 2025
First seenApr 1, 2025

How to fix

Update
  • linux linux_kernel6.1.132, 6.6.84, 6.12.20, 6.13.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.16 ≤ v < 6.1.132, 6.2 ≤ v < 6.6.84, 6.7 ≤ v < 6.12.20, 6.13 ≤ v < 6.13.8, 6.146.1.132, 6.6.84, 6.12.20, 6.13.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.