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 0B6B815572A for ; Mon, 29 Jul 2024 15:04:48 +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=1722265488; cv=none; b=G4GMphdfZb5NLSG38kigFSmC0CrzoPuFwynhlh9CKfv9VnWWuo46E9lc8zGN5nItxiVzghWMh8ySK5NGbA17HjuB1sxVXJX4q7nYesH4bhGyc4WI8NJiQQO8h20iXvg2nPovS+N76FtWfRBPjjgMsgJYNbsstex0PlxqhvCHk9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265488; c=relaxed/simple; bh=HCVhq2sClVvlTbRzVUSiCVHFaUGjU+yrwBj9XF03hOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DgE7TT4I9Pxa2zTmcnLG+vCBSu4uhHJjSFA7cKuw/88aF8B3P5QXqtYVZEMo3yusF5o0nDXKuv8Ir5cbMKAaQ+/pNu1sn4Sa/fuxasFJgZcRDTwMuTYaELhTCt26yMLzoKIZY6OejDAfYKcrmZh72wZ5KNVjsiXSaI/2A1Z7Dk0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XFvNI5h0; 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="XFvNI5h0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65F64C32786; Mon, 29 Jul 2024 15:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265487; bh=HCVhq2sClVvlTbRzVUSiCVHFaUGjU+yrwBj9XF03hOM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XFvNI5h0IOdzVlitt7lgKbMjd+LX6GHI+tYPHunbE1ru8a4A2BjsXfIpI6Qf7Jhs9 3oqD2lcmLcrwEgfbFGWS1bI5BXPxfnBXJD6BtlHsO0681fOhr3C3c6pl+4FG9QUWxJ oN97/XBlwg+lA05d6XXibQnTTZMkEQCfJMxAAcCI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41081: ila: block BH in ila_output() Date: Mon, 29 Jul 2024 17:04:29 +0200 Message-ID: <2024072926-CVE-2024-41081-2552@gregkh> X-Mailer: git-send-email 2.45.2 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=2632; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HCVhq2sClVvlTbRzVUSiCVHFaUGjU+yrwBj9XF03hOM=; b=kA0DAAIRMUfUDdst+ykByyZiAGanr3qhAX5PbDTbtNPKgH9v17AvGvZICp9FxXoRyWjleXXT0 ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmanr3oACgkQMUfUDdst+ylkyQCdFZ9E JTYpGeR+qggpHKOtEI5lSHAAoLDJMc0ZraXsOu3Huv2OYM/7sOQG 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: ila: block BH in ila_output() As explained in commit 1378817486d6 ("tipc: block BH before using dst_cache"), net/core/dst_cache.c helpers need to be called with BH disabled. ila_output() is called from lwtunnel_output() possibly from process context, and under rcu_read_lock(). We might be interrupted by a softirq, re-enter ila_output() and corrupt dst_cache data structures. Fix the race by using local_bh_disable(). The Linux kernel CVE team has assigned CVE-2024-41081 to this issue. Affected and fixed versions =========================== Fixed in 4.19.319 with commit 7435bd2f84a2 Fixed in 5.4.281 with commit 96103371091c Fixed in 5.10.223 with commit a0cafb7b0b94 Fixed in 5.15.164 with commit feac2391e26b Fixed in 6.1.101 with commit b4eb25a3d70d Fixed in 6.6.42 with commit 522c3336c202 Fixed in 6.9.11 with commit 9f9c79d8e527 Fixed in 6.10 with commit cf28ff8e4c02 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-41081 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/ipv6/ila/ila_lwt.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/7435bd2f84a25aba607030237261b3795ba782da https://git.kernel.org/stable/c/96103371091c6476eb07f4c66624bdd1b42f758a https://git.kernel.org/stable/c/a0cafb7b0b94d18e4813ee4b712a056f280e7b5a https://git.kernel.org/stable/c/feac2391e26b086f73be30e9b1ab215eada8d830 https://git.kernel.org/stable/c/b4eb25a3d70df925a9fa4e82d17a958a0a228f5f https://git.kernel.org/stable/c/522c3336c2025818fa05e9daf0ac35711e55e316 https://git.kernel.org/stable/c/9f9c79d8e527d867e0875868b14fb76e6011e70c https://git.kernel.org/stable/c/cf28ff8e4c02e1ffa850755288ac954b6ff0db8c