Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61F52237A4F for ; Sun, 25 Jan 2026 14:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769351856; cv=none; b=tplXmZ5bylJwNGXkX1zaadjJGP+vnyG7RwF1KFdYprrQFjKiV3KgM6BK2+Uwa5yeV1JeMvQxUAVrr3CcgccqaKlltryuUPTGCJLRjeGUqKnOzsMIOjM0apOYIluNxVq7pITdJje6+NzE6QfpJ5ii+mdaC5jv4i4XYybRvDZoe1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769351856; c=relaxed/simple; bh=n2I7uknLwfwuMblqj0TLg1kqxfxdOEu2MzmbXlJTnaY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OMJj2b4CPxEIJ1lmdp9u3Kk0i+pxYFW044Cd57PTyYdtHUy45j2wBQbZ2Lw4VxZwSQP2Nb/1KdFQhLEHtf/U76CcFD9hpvIFhkDwCJioxh/rCuZiV3RN0SWTla5pMOedDkdI9HqrYgld3l9CmvlJL8zPXeWlrkUMHqXlqEHInN0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZZGeO8WN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZZGeO8WN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4A9EC4CEF1; Sun, 25 Jan 2026 14:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769351856; bh=n2I7uknLwfwuMblqj0TLg1kqxfxdOEu2MzmbXlJTnaY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ZZGeO8WNgHdWVoN2wT60HZVzsM2C3/oGcDKYGdCjkWgRWArClWenKUgrviAq0rojo mCys082SuKBgHCRdWDjt+0G3kCjblCESB1kWWnnYP0/j3+MFHLj5uqPO07xyYfDVek cGSW5tq2FJrwAZNKn2DEt2Vvh4AuxVEYchKhFoEs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-22999: net/sched: sch_qfq: do not free existing class in qfq_change_class() Date: Sun, 25 Jan 2026 15:36:35 +0100 Message-ID: <2026012533-CVE-2026-22999-c098@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2144; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fk+WJ9snX3PBHexENSVAlLFw7JyYbHoMPv9YMcfOlzc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJllWkUu9V+m25dYRKy22VDcxxh2S/DuM+1nX687TJh08 EuOtl5pRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykU4BhvlN6979l5jefTAje +WzKwf0ijBen+jEsWJGVcXq6VIVnmmXb6s738v0rliYpAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: do not free existing class in qfq_change_class() Fixes qfq_change_class() error case. cl->qdisc and cl should only be freed if a new class and qdisc were allocated, or we risk various UAF. The Linux kernel CVE team has assigned CVE-2026-22999 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 6.12.67 with commit 362e269bb03f7076ba9990e518aeddb898232e50 Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 6.18.7 with commit e9d8f11652fa08c647bf7bba7dd8163241a332cd Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 6.19-rc6 with commit 3879cffd9d07aa0377c4b8835c4f64b4fb24ac78 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-22999 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/sched/sch_qfq.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/362e269bb03f7076ba9990e518aeddb898232e50 https://git.kernel.org/stable/c/e9d8f11652fa08c647bf7bba7dd8163241a332cd https://git.kernel.org/stable/c/3879cffd9d07aa0377c4b8835c4f64b4fb24ac78