{"id":"CVE-2025-40083","published":"2025-10-29T13:37:01Z","modified":"2026-06-16T19:43:09Z","title":"net/sched: sch_qfq: Fix null-deref in agg_dequeue","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_qfq: Fix null-deref in agg_dequeue\n\nTo prevent a potential crash in agg_dequeue (net/sched/sch_qfq.c)\nwhen cl->qdisc->ops->peek(cl->qdisc) returns NULL, we check the return\nvalue before using it, similar to the existing approach in sch_hfsc.c.\n\nTo avoid code duplication, the following changes are made:\n\n1. Changed qdisc_warn_nonwc(include/net/pkt_sched.h) into a static\ninline function.\n\n2. Moved qdisc_peek_len from net/sched/sch_hfsc.c to\ninclude/net/pkt_sched.h so that sch_qfq can reuse it.\n\n3. Applied qdisc_peek_len in agg_dequeue to avoid crashing.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.1094,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/71d84658a61322e5630c85c5388fc25e4a2d08b2","tags":[]},{"url":"https://git.kernel.org/stable/c/99fc137f178797204d36ac860dd8b31e35baa2df","tags":[]},{"url":"https://git.kernel.org/stable/c/1bed56f089f09b465420bf23bb32985c305cfc28","tags":[]},{"url":"https://git.kernel.org/stable/c/3c2a8994807623c7655ece205667ae2cf74940aa","tags":[]},{"url":"https://git.kernel.org/stable/c/6ffa9d66187188e3068b5a3895e6ae1ee34f9199","tags":[]},{"url":"https://git.kernel.org/stable/c/6ff8e74c8f8a68ec07ef837b95425dfe900d060f","tags":[]},{"url":"https://git.kernel.org/stable/c/dd831ac8221e691e9e918585b1003c7071df0379","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.19}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 71d84658a61322e5630c85c5388fc25e4a2d08b2",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 99fc137f178797204d36ac860dd8b31e35baa2df",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 1bed56f089f09b465420bf23bb32985c305cfc28",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 3c2a8994807623c7655ece205667ae2cf74940aa",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 6ffa9d66187188e3068b5a3895e6ae1ee34f9199",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < 6ff8e74c8f8a68ec07ef837b95425dfe900d060f",">= 462dbc9101acd38e92eda93c0726857517a24bbd, < dd831ac8221e691e9e918585b1003c7071df0379"]},{"vendor":"Linux","product":"Linux","versions":["3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-16T19:42:58.130867Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-36665","exploited":false,"provenance":"source"}}