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 9F19440870 for ; Fri, 17 May 2024 12:03:08 +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=1715947388; cv=none; b=S0ECVPYk3KjHDRep6wFlL4di1pWscbrn3aUvMaz5j/ffXmI5uoplXEFW3BW//5ZDY/ISFacA0YzwQDxz6ZUuiRJrbTPNVS1s9Dv0BYYi1IJSApbuUyFgroH/IVH/QwvyseqEA/ixufcWSU7P+7wSLA0IISeu3ZnvT+6FH1eVffU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715947388; c=relaxed/simple; bh=7lOLWU9RX4oTbNuesx9MTGAsfMtC1te6En8l53Q7MdA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U633MNwctlmGpupzw0YwMOm5uZHNL+Qjt7hbitqU4f5h/NDo0n2EKE03Qw6xWIHHyH/FHCwjG49qgvQk3MSMrqI+66yWfMzYKJgIJYzUQGg+ax3ycYJP0Hc05oQagMo1l3A3ie7U2ghFYCZ2JZnh+Ar8r4Eo5nlkoQzLPNgOKwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fl3Zlcqo; 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="Fl3Zlcqo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2284AC2BD10; Fri, 17 May 2024 12:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715947388; bh=7lOLWU9RX4oTbNuesx9MTGAsfMtC1te6En8l53Q7MdA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Fl3ZlcqoQcEVMruX/JKUd9YdH7T9Z5jwy8nD3i7ccsIOoUs7UVfZZ1OajNAbfG2Hu b2qgbDltUxmOkWXwqHpRFUnp56g0N3M6u6dsjy8j9/XnA5ySqpTJGfYT/+Ej5KJ1pm Fu3t7oRn/QhV73f4ci83aG/rRYcQ5TYEWRop0lSM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27427: netrom: Fix a data-race around sysctl_netrom_transport_timeout Date: Fri, 17 May 2024 14:02:27 +0200 Message-ID: <2024051722-CVE-2024-27427-14e0@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=2812; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7lOLWU9RX4oTbNuesx9MTGAsfMtC1te6En8l53Q7MdA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnu7n5bii64Ge5S+HDxzjO+3U8nMS45LWq80iauNVHR+ U+m1L/fHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR7BcM87S/BOo6+j25krPn x9/2z2FTP1x+u45hwXW//Vrtj1nmXLS0qll8bVZ/1TSJ2QA= 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_transport_timeout 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-27427 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 4.19.310 with commit 500936692ccc Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.4.272 with commit eadec8da4451 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.10.213 with commit 291d36d772f5 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.15.152 with commit b8006cb0a34a Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.1.82 with commit fed835d41576 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.6.22 with commit 5d5c14efc987 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.7.10 with commit 7d1e00fc2af3 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.8 with commit 60a7a152abd4 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-27427 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/af_netrom.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/500936692ccca8617a955652d1929f079b17a201 https://git.kernel.org/stable/c/eadec8da4451c2c0897199691184602e4ee497d1 https://git.kernel.org/stable/c/291d36d772f5ea5c68a263ee440f2c9eade371c9 https://git.kernel.org/stable/c/b8006cb0a34aaf85cdd8741f4148fd9c76b351d3 https://git.kernel.org/stable/c/fed835d415766a94fc0246dcebc3af4c03fe9941 https://git.kernel.org/stable/c/5d5c14efc987900509cec465af26608e39ac607c https://git.kernel.org/stable/c/7d1e00fc2af3b7c30835d643a3655b7e9ff7cb20 https://git.kernel.org/stable/c/60a7a152abd494ed4f69098cf0f322e6bb140612