Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DEE5A3D3498 for ; Fri, 28 Aug 2026 06:52:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899953; cv=none; b=N7bq/wlecKYIFonzoXuK6kNp9iX4xwKMbfeESVI7hc1jqTMfB/Y6WCJyQQK1zDntbsfZirWp3toIsyCkXgVzz/rqe6Z7IZQ8GruftHok/SOFPZKmU/kd95QSv0eBMwc6K/lfLCgwyMy8YfPuFm25ZQp1y6Pbclk1oBbZG3LrkBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899953; c=relaxed/simple; bh=x/HV01BGT9GcFhPUhRh38ouxZunXFJliZ4vRXSCn9JY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f97fhYb7+kGrVPptiPdZYkKUljfETz1muBBjHkbpZYNO24+/NhL90GPSKRLzMZYZFc3UAd6w3CQzBzlAg4W3z5DlpkdJQlyk5pUkYiFtZcHgZAkT0/XKEwLhAYLNiNMXog3jJPlWq4bJem9MY1c9DmpUuqO6lYSE7403gQeH+NY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aghoUQOE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aghoUQOE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 447D21F000E9; Fri, 28 Aug 2026 06:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899951; bh=CgHir9vURYvKu27d9FvNlRuO9IDFEEEMWw9JJu2jeQc=; h=From:To:Cc:Subject:Date:Reply-To; b=aghoUQOEIgqOQIAbdkPF9JN52zMOoJTU/wqqcwB4ib0Z2dRFIGMVGc2ieDIpCz8PW gthCk337yLaV8NavJnB5cXu10nz9xAEP8u+CnGwlAofQ5sGOQWthA1e1DdMJj/vIOj KfBwBDKHMFha/1DXykJReCSuABm3RzsZVeTsSBmM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80630: net/sched: sch_fq_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen Date: Fri, 28 Aug 2026 08:49:07 +0200 Message-ID: <2026082838-CVE-2026-80630-9d99@gregkh> X-Mailer: git-send-email 2.55.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=6113; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UTlGBEMN5T0DruCp5Qn8tEQ3iuSUrXanUo4OshlYZ9A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9d0kdTaZKMvHhHd2J0zgdeAz/8kaE1laxpxisuXuv ETexMaOWBYGQSYGWTFFli/beI7urzik6GVoexpmDisTyBAGLk4BmMiaTIZ51tXh8x7+Ufk77/ki WdmrAtsdJW8cZJgfc/qUeBpfb0e30qlbT74kPnrFGC4MAA== 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_fq_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen Whenever fq_codel drops packets during peek, it calls qdisc_tree_reduce_backlog. An issue arises because it calls qdisc_tree_reduce_backlog before it reincrements the qlen. If qlen drops to zero, but peek returns an skb, the parent's qlen_notify callback will be executed even though fq_codel still has 1 packet on the queue and, thus, will mistakenly deactivate the parent's class causing issues like a recent report [1] and a wild memory access in qfq: [ 29.371146][ T360] Oops: general protection fault, probably for non-canonical address 0xfbd59c0000000024: 0000 [#1] SMP KASAN NOPTI [ 29.371666][ T360] KASAN: maybe wild-memory-access in range [0xdead000000000120-0xdead000000000127] [ 29.371987][ T360] CPU: 6 UID: 0 PID: 360 Comm: tc Not tainted 7.1.0-rc5-00285-gc530e5b2dbc6-dirty #82 PREEMPT(full) [ 29.372384][ T360] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.372620][ T360] RIP: 0010:qfq_deactivate_agg (include/linux/list.h:1029 (discriminator 2) include/linux/list.h:1043 (discriminator 2) net/sched/sch_qfq.c:1369 (discriminator 2) net/sched/sch_qfq.c:1395 (discriminator 2)) sch_qfq [ 29.373544][ T360] RSP: 0018:ffff888102417370 EFLAGS: 00010216 [ 29.373800][ T360] RAX: 0000000000000000 RBX: ffff88811224d568 RCX: dffffc0000000000 [ 29.374079][ T360] RDX: 1ffff11021fe1543 RSI: ffff88810ff0aa00 RDI: dffffc0000000000 [ 29.374368][ T360] RBP: ffff88811224c280 R08: dead000000000122 R09: 1bd5a00000000024 [ 29.374649][ T360] R10: fffffbfff7940329 R11: fffffbfff7940329 R12: 0000000000000000 [ 29.374926][ T360] R13: dead000000000100 R14: ffff88811224d580 R15: ffff88811224d578 [ 29.375207][ T360] FS: 00007f5b794e5780(0000) GS:ffff88815d1e9000(0000) knlGS:0000000000000000 [ 29.375545][ T360] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.375823][ T360] CR2: 000055ffb091f000 CR3: 000000010a305000 CR4: 0000000000750ef0 [ 29.376103][ T360] PKRU: 55555554 [ 29.376258][ T360] Call Trace: [ 29.376401][ T360] ... [ 29.376885][ T360] qfq_reset_qdisc (net/sched/sch_qfq.c:357 net/sched/sch_qfq.c:1487) sch_qfq [ 29.377074][ T360] qdisc_reset (net/sched/sch_generic.c:1057) [ 29.377414][ T360] __qdisc_destroy (net/sched/sch_generic.c:1096) [ 29.377600][ T360] qdisc_graft (net/sched/sch_api.c:1062 net/sched/sch_api.c:1053 net/sched/sch_api.c:1159) [ 29.378593][ T360] tc_get_qdisc (net/sched/sch_api.c:1528 net/sched/sch_api.c:1556) Fix this by only calling qdisc_tree_reduce_backlog in peek after the qlen is restored. [1] http://lore.kernel.org/netdev/CAN2cbVe79oj0O9==m4+4x3v+O+qzRagA=2=wkrp9i9=CqYvyZA@mail.gmail.com/ The Linux kernel CVE team has assigned CVE-2026-80630 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.241 with commit cc71a757da78dd4aa1b4a9b19cb011833730ccf2 and fixed in 5.10.261 with commit 3e515188393e62a718ccebee651ee74514104ff6 Issue introduced in 5.15.190 with commit eda741fe155ddf5ecd2dd3bfbd4fc3c0c7dbb450 and fixed in 5.15.212 with commit 20dd591d8f951e1e6aca5052be8785e6181055e2 Issue introduced in 6.1.135 with commit 829c49b6b2ff45b043739168fd1245e4e1a91a30 and fixed in 6.1.178 with commit 94a5f1efdefb01f82cd228bf4e7ef1e8fc075c80 Issue introduced in 6.6.88 with commit 2f9761a94bae33d26e6a81b31b36e7d776d93dc1 and fixed in 6.6.145 with commit acc08a0c7f37ebb1901144e03a7cba7d4afd9203 Issue introduced in 6.12.24 with commit 4d55144b12e742404bb3f8fee6038bafbf45619d and fixed in 6.12.97 with commit 7c09843fd2b44d9bf0de798683861d1aecd62a08 Issue introduced in 6.15 with commit 342debc12183b51773b3345ba267e9263bdfaaef and fixed in 6.18.40 with commit 0500af8630c3253f0dde879bd3a73a06bb2f2b3f Issue introduced in 6.15 with commit 342debc12183b51773b3345ba267e9263bdfaaef and fixed in 7.1.5 with commit af54df2f44d9605614bc7ed96640302a240a9a62 Issue introduced in 6.15 with commit 342debc12183b51773b3345ba267e9263bdfaaef and fixed in 7.2 with commit 097f6fc7b1ae362dd7a9444b2572162fda73b284 Issue introduced in 5.4.297 with commit 7a742a9506849d1c1aa71e36c89855ceddc7d58e Issue introduced in 6.13.12 with commit e73c838c80dccb9e4f19becc11d9f3cb4a27d483 Issue introduced in 6.14.3 with commit a57fe60ef4cf96bfbb6b58397ec28bdb5a5c6b31 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-80630 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_fq_codel.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/3e515188393e62a718ccebee651ee74514104ff6 https://git.kernel.org/stable/c/20dd591d8f951e1e6aca5052be8785e6181055e2 https://git.kernel.org/stable/c/94a5f1efdefb01f82cd228bf4e7ef1e8fc075c80 https://git.kernel.org/stable/c/acc08a0c7f37ebb1901144e03a7cba7d4afd9203 https://git.kernel.org/stable/c/7c09843fd2b44d9bf0de798683861d1aecd62a08 https://git.kernel.org/stable/c/0500af8630c3253f0dde879bd3a73a06bb2f2b3f https://git.kernel.org/stable/c/af54df2f44d9605614bc7ed96640302a240a9a62 https://git.kernel.org/stable/c/097f6fc7b1ae362dd7a9444b2572162fda73b284