{"id":"CVE-2025-21980","published":"2025-04-01T15:47:09Z","modified":"2026-05-11T21:10:18Z","title":"sched: address a potential NULL pointer dereference in the GRED scheduler.","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched: address a potential NULL pointer dereference in the GRED scheduler.\n\nIf kzalloc in gred_init returns a NULL pointer, the code follows the\nerror handling path, invoking gred_destroy. This, in turn, calls\ngred_offload, where memset could receive a NULL pointer as input,\npotentially leading to a kernel crash.\n\nWhen table->opt is NULL in gred_init(), gred_change_table_def()\nis not called yet, so it is not necessary to call ->ndo_setup_tc()\nin gred_offload().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00217,"percentile":0.12388,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/d02c9acd68950a444acda18d514e2b41f846cb7f","tags":[]},{"url":"https://git.kernel.org/stable/c/0f0a152957d64ce45b4c27c687e7d087e8f45079","tags":[]},{"url":"https://git.kernel.org/stable/c/68896dd50180b38ea552e49a6a00b685321e5769","tags":[]},{"url":"https://git.kernel.org/stable/c/5f996b4f80c2cef1f9c77275055e7fcba44c9199","tags":[]},{"url":"https://git.kernel.org/stable/c/115ef44a98220fddfab37a39a19370497cd718b9","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.48},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f25c0515c521375154c62c72447869f40218c861, < d02c9acd68950a444acda18d514e2b41f846cb7f",">= f25c0515c521375154c62c72447869f40218c861, < 0f0a152957d64ce45b4c27c687e7d087e8f45079",">= f25c0515c521375154c62c72447869f40218c861, < 68896dd50180b38ea552e49a6a00b685321e5769",">= f25c0515c521375154c62c72447869f40218c861, < 5f996b4f80c2cef1f9c77275055e7fcba44c9199",">= f25c0515c521375154c62c72447869f40218c861, < 115ef44a98220fddfab37a39a19370497cd718b9"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T17:15:04.741694Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-9340","exploited":false,"provenance":"source"}}