Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154277; b=BUyOW8K3AODkjs5o8gGlIHE/X3xP2RY7HftL9pt24ZmFYvCgmIvyWX302fSes9gY/cCj bjggWMGx6EOdyLDFmo9vl1EhTuuVeAOJS4AY98vuKMVGOvrVEiiod9qkgEuUdMmcPG08A bdmOX3ersFV/khsclGT1xoK2/ovi6Q05W9lpQb8DCqwB7T0fqNphBqT1fcBDfi7nuux9g kTzGIzIS2L0o2ptHdi3O5MPCTlFdjVJ2lBkJVMebK0pakCwJzBtOlDstL+Wvsrn50K8iQ XfLZlSuvvK05zcjq6vdTJ+r8bZ89wEkfJauUfuDt2oZ1eWpZdTt8/wX9yYx3LqbmU1g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154277; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=o3TJQeldIx4nv3ml5tVStc83JdeIgc8m0yUA0fiWVtY=; b=DOjqvSDFgrlbGmugrqGkjX+0i6ruTAtpk0Pg/N9mqO5EGi7sjneDuOX/w1zWJA6j9yax 0B4rn7ByfE3nvtTvDgiT/qQhuP/EhLQ8Q7tZ0GTmRRYNfkxLtaoeg6c/od0usB5SR9SSj 70vP79MeIQ3Bpon2xpIKaGZ3VeVRb0F6LDkwr3dgMPf6JVe8pWj0fCww3FwLu5du73zxF kg8/kTD5yAY1LaXLv1FhI5PJdkFpzvMoeluQcAZ3DQxDWazovuMe7u1jOp/itAVXO54nI 6R4ZXoKBCuro4uNondF1LpaHyAfhtahcrevW5+bK/SE2ASX/Ffv2JXRP6csdt2jycag== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZrSfCbfU; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1836A606A336 for ; Fri, 20 Nov 2026 05:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZrSfCbfU Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6931D1F000EC; Fri, 20 Nov 2026 05:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154277; bh=o3TJQeldIx4nv3ml5tVStc83JdeIgc8m0yUA0fiWVtY=; h=From:To:Cc:Subject:Date:Reply-To; b=ZrSfCbfUFGd4JIl2GNDEF5zroUhsrXVkOnyPhQ812cpaU9Mg4I4kGJzZ6HOLUgEoj BWtPupA1KDf5JhTg0IjMl9VcB7HjKEBEx6kzppTTo7mrQ5w890RfK8clOCyRpTLQDm xrevsSH+JjB4YnWgZNX3mwI36WQjwDcbSHHBkzgw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99688: net/sched: sch_qfq: prevent aggregate self-replacement Date: Fri, 20 Nov 2026 06:51:14 +0100 Message-ID: <2026112057-CVE-2026-99688-8cdf@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RTpDEoPuWKlLUJQYeWAtRKyw/ZixHbbAPGdT2A8L/wE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/77e6RbO+NwtYLX9Gm3f/buvew9mZShrJQsIpEe/O/ 7CJOfy1I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZS0c4w3/87R0652q9fenK7 FORSVPyZtDZUMSxYcevNHbvV7ZwPEiSWloqt9krcfJINAA== 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: prevent aggregate self-replacement qfq_change_class() snapshots the current aggregate settings while holding the qdisc tree lock, but drops the lock before selecting the destination aggregate. During that gap, qfq_enqueue() can move the class to an aggregate matching the requested settings. When qfq_change_class() resumes, qfq_find_agg() then returns cl->agg. If it is a singleton, qfq_deact_rm_from_agg() frees the aggregate before qfq_add_to_agg() immediately accesses the same pointer, causing a use-after-free. While holding the tree lock, skip the replacement when the destination is already the current aggregate. Any estimator replacement has already completed, so the class change can finish normally. The Linux kernel CVE team has assigned CVE-2026-99688 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 6.12.118 with commit 374ea8200331708ead0ba524b5c8cd9640515fd5 Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 6.18.64 with commit 11c4ba0c976415176a6d82d6051457455d5b7e40 Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 7.3.5 with commit 519f327c7fd1b67327de2e1cff6fbe85a02a151b Issue introduced in 3.8 with commit 462dbc9101acd38e92eda93c0726857517a24bbd and fixed in 7.4-rc2 with commit 2e54b3e187300893688c2c7517894f5d96732e05 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-99688 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/374ea8200331708ead0ba524b5c8cd9640515fd5 https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40 https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05