CVE-2025-21980: sched: address a potential NULL pointer dereference in the GRED scheduler.

Published Apr 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

sched: address a potential NULL pointer dereference in the GRED scheduler.

If kzalloc in gredinit returns a NULL pointer, the code follows the error handling path, invoking greddestroy. This, in turn, calls gredoffload, where memset could receive a NULL pointer as input, potentially leading to a kernel crash.

When table->opt is NULL in gredinit(), gredchangetabledef() is not called yet, so it is not necessary to call ->ndosetuptc() in gredoffload().

Affected Software

12 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.16<6.1.132
Linux Linux kernel>=6.2<6.6.84
Linux Linux kernel>=6.7<6.12.20
Linux Linux kernel>=6.13<6.13.8
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Event History

Apr 1, 2025
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-21980?

CVE-2025-21980 has been classified as a moderate severity vulnerability due to the potential for a NULL pointer dereference in the GRED scheduler.

2

How do I fix CVE-2025-21980?

To address CVE-2025-21980, update to the latest version of the Linux kernel that includes the fix for this vulnerability.

3

What are the potential impacts of CVE-2025-21980?

The potential impact of CVE-2025-21980 includes system instability or crashes due to NULL pointer dereference in the GRED scheduler.

4

Which versions of the Linux kernel are affected by CVE-2025-21980?

CVE-2025-21980 affects various versions of the Linux kernel prior to the fix being implemented in subsequent releases.

5

Is there a workaround for CVE-2025-21980?

There are no recommended workarounds for CVE-2025-21980; updating the kernel is the primary response for mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203