{"id":"CVE-2026-52997","published":"2026-06-24T16:29:09Z","modified":"2026-06-24T16:29:09Z","title":"net/sched: sch_dualpi2: drain both C-queue and L-queue in dualpi2_change()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_dualpi2: drain both C-queue and L-queue in dualpi2_change()\n\nFix dualpi2_change() to correctly enforce updated limit and memlimit\nvalues after a configuration change of the dualpi2 qdisc.\n\nBefore this patch, dualpi2_change() always attempted to dequeue packets\nvia the root qdisc (C-queue) when reducing backlog or memory usage, and\nunconditionally assumed that a valid skb will be returned. When traffic\nclassification results in packets being queued in the L-queue while the\nC-queue is empty, this leads to a NULL skb dereference during limit or\nmemlimit enforcement.\n\nThis is fixed by first dequeuing from the C-queue path if it is\nnon-empty. Once the C-queue is empty, packets are dequeued directly from\nthe L-queue. Return values from qdisc_dequeue_internal() are checked for\nboth queues. When dequeuing from the L-queue, the parent qdisc qlen and\nbacklog counters are updated explicitly to keep overall qdisc statistics\nconsistent.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.05146,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/86cf2eba2056bcf9c41fba260e599bd95bf9943b","tags":[]},{"url":"https://git.kernel.org/stable/c/3042add80c2c50bd127d570b83319af612efde65","tags":[]},{"url":"https://git.kernel.org/stable/c/478ed6b7d2577439c610f91fa8759a4c878a4264","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":1.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 320d031ad6e4d67e8e1ab08ac71efda02bc85683, < 86cf2eba2056bcf9c41fba260e599bd95bf9943b",">= 320d031ad6e4d67e8e1ab08ac71efda02bc85683, < 3042add80c2c50bd127d570b83319af612efde65",">= 320d031ad6e4d67e8e1ab08ac71efda02bc85683, < 478ed6b7d2577439c610f91fa8759a4c878a4264"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2026-38865","exploited":false,"provenance":"source"}}