From mboxrd@z Thu Jan 1 00:00:00 1970 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 4C26018870C for ; Fri, 27 Dec 2024 13:38:53 +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=1735306734; cv=none; b=tEcZSBhY7g9TX9dAXOUZZFzOHezyCI6DiR+J/98mM3FY9zLPo5QOY6TJmYMoFb/eZ4VuX3KQ5Va33Qad6wXPTyckcTeJLI+R1V5NTTwpS3nlz4qzEHMj+arY4IXgo9dZVXTmBkAUlObk7KneWfje/3TlKYNwOfi1Ft8aVnDT6Kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735306734; c=relaxed/simple; bh=5eXATMYEmRRNc2r3aHpr84o1qo5lCBemDgMDiFYs5MQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HhGTwmLRLAaoAVAZeErMx9Q+c7VtpL8utDxvCUsS0a9cjhm+u02tMJ2+issXvavqz6a0Va5hpag5anDsonIY21VcLIK2ivCuZUhJXqskAYh9j3ox+D9r9BcI88KqRaVkhiSo1GxbaHzk3PrnUcvw0f4q7+YEmieRWWUujueQfik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aiGTDdpa; 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="aiGTDdpa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62BB9C4CED0; Fri, 27 Dec 2024 13:38:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735306733; bh=5eXATMYEmRRNc2r3aHpr84o1qo5lCBemDgMDiFYs5MQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aiGTDdpaLYReJ7S8A1ibqz0QWRUt4ucRQAfksUfK5cOAV8ej7E9fCbJBVbZojxVSI 3WN/i+hd8/epNR0m3lB3Zy5xPRFVn9IK9jr9sofWCqhK2Z6v4PLMZti1keHQhP9LpE wJVZfTnhplXcp9TsFXI45NRdXoHOGmE9b/0fJDg8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53164: net: sched: fix ordering of qlen adjustment Date: Fri, 27 Dec 2024 14:38:47 +0100 Message-ID: <2024122746-CVE-2024-53164-752a@gregkh> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2106; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5eXATMYEmRRNc2r3aHpr84o1qo5lCBemDgMDiFYs5MQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5a59FyvEKHNCZtb2tiCm/dqpm3XOxg4k2q2znS7/pq Zf9pdHdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5uZVhwUylDrk/p95FCiTe 7ulsXrPq4aLyAIYFKxxXRL09ariR+/Yds4eS+ToluTu0AQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net: sched: fix ordering of qlen adjustment Changes to sch->q.qlen around qdisc_tree_reduce_backlog() need to happen _before_ a call to said function because otherwise it may fail to notify parent qdiscs when the child is about to become empty. The Linux kernel CVE team has assigned CVE-2024-53164 to this issue. Affected and fixed versions =========================== Fixed in 6.1.122 with commit 489422e2befff88a1de52b2acebe7b333bded025 Fixed in 6.6.68 with commit 97e13434b5da8e91bdf965352fad2141d13d72d3 Fixed in 6.12.7 with commit e3e54ad9eff8bdaa70f897e5342e34b76109497f Fixed in 6.13-rc2 with commit 5eb7de8cd58e73851cd37ff8d0666517d9926948 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-2024-53164 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_cake.c net/sched/sch_choke.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/489422e2befff88a1de52b2acebe7b333bded025 https://git.kernel.org/stable/c/97e13434b5da8e91bdf965352fad2141d13d72d3 https://git.kernel.org/stable/c/e3e54ad9eff8bdaa70f897e5342e34b76109497f https://git.kernel.org/stable/c/5eb7de8cd58e73851cd37ff8d0666517d9926948