CVE-2025-21980: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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

Affected products

  • Linux Linux Kernel: from 5.16, before 6.1.132 (fixed in 6.1.132); from 6.2, before 6.6.84 (fixed in 6.6.84); from 6.7, before 6.12.20 (fixed in 6.12.20); from 6.13, before 6.13.8 (fixed in 6.13.8); version 6.14 only

Published 2025-04-01. Last modified 2026-06-17.