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 A6AC443174 for ; Fri, 17 May 2024 12:02:51 +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=1715947371; cv=none; b=U5sXEwwIgpjHYpQsWGvg+iNWakYEqnag8TTb57wmSPbv9CdU20Qybf6T5WAym6RCTXLLDU244RtZvJG3Qpejm/lXDMQp+vQzxZANF/J8VYsdYvP7aeIMexjj1l1cMMV++ZV5bWdoEfvDn48x+XHSHaqZJINYmHZSu0P3v4tmQ1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715947371; c=relaxed/simple; bh=LsXSKUm55tdcXKlSd+AKT2Wc3a6rRdL22RtMSQ/DCiI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MVXQmvIZl5wRW7E/tZyWHfpMLjtMY/aKCkgqoDayHJ+ZVP5QlRT0QdHutGkBQ0e+ZyJSAOCysbKkmfcjDaV/AcZZP/XeldK+dnmJLAaNOzKFvvG8+IgtZ4JnmhDLW33+8PXTdMUJuLGeRmgQc9XF2yTTOwzOvl+ArBK8pU9UVGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tEkeIiCI; 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="tEkeIiCI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC64AC2BD10; Fri, 17 May 2024 12:02:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715947371; bh=LsXSKUm55tdcXKlSd+AKT2Wc3a6rRdL22RtMSQ/DCiI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tEkeIiCIStcVkdzDxMSak14OldcNh0weLa5fNWQMsW/MRJtT9k6vDzjKx2kUObi11 iNx6Hwtay+ofHV9cVerM1VlMEN6bO7fKHIocZfUmWvorjWn3UDiAist/TmlhLxYU3/ qXWogChP8iDDPXWTIjmaW3aEcNqZF9V25MH1VBbc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27421: netrom: Fix a data-race around sysctl_netrom_routing_control Date: Fri, 17 May 2024 14:02:21 +0200 Message-ID: <2024051720-CVE-2024-27421-77a2@gregkh> X-Mailer: git-send-email 2.45.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=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LsXSKUm55tdcXKlSd+AKT2Wc3a6rRdL22RtMSQ/DCiI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnu7j6TCh+wnJw2NcvlekPNocnX9SVcBdxvWC87xVMvZ +WV8vxcRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkR4BhwabfeuYSu7q0q10v iKlOuKtZtWdiPsM8zerMrbUaz29ZLWiYOzc9ZT/bPM91AA== 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: netrom: Fix a data-race around sysctl_netrom_routing_control We need to protect the reader reading the sysctl value because the value can be changed concurrently. The Linux kernel CVE team has assigned CVE-2024-27421 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 4.19.310 with commit c13fbb5902bc Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.4.272 with commit c4309e5f8e80 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.10.213 with commit b7d33e083f9d Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.15.152 with commit f9c4d4246417 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.1.82 with commit 4c02b9ccbb11 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.6.22 with commit d732b8325132 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.7.10 with commit 859175d4bc11 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.8 with commit b5dffcb8f71b 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-27421 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/netrom/nr_route.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/c13fbb5902bce848759385986d4833f5b90782c1 https://git.kernel.org/stable/c/c4309e5f8e80584715c814e1d012dbc3eee5a500 https://git.kernel.org/stable/c/b7d33e083f9d5d39445c0a91e7ad4f3e2c47fcb5 https://git.kernel.org/stable/c/f9c4d42464173b826190fae2283ed1a4bbae0c8b https://git.kernel.org/stable/c/4c02b9ccbb11862ee39850b2b285664cd579b039 https://git.kernel.org/stable/c/d732b83251322ecd3b503e03442247745d6052ce https://git.kernel.org/stable/c/859175d4bc11af829e2fdd261a7effdaba9b5d8f https://git.kernel.org/stable/c/b5dffcb8f71bdd02a4e5799985b51b12f4eeaf76