Bug 2356636 (CVE-2025-21980) - CVE-2025-21980 kernel: sched: address a potential NULL pointer dereference in the GRED scheduler.
Summary: CVE-2025-21980 kernel: sched: address a potential NULL pointer dereference in...
Keywords:
Status: NEW
Alias: CVE-2025-21980
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:03 UTC by OSIDB Bzimport
Modified: 2025-04-20 15:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:03:46 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.