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 94B9C168C4 for ; Fri, 17 May 2024 12:02:54 +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=1715947374; cv=none; b=NfoWekPuR9rOKXRw35kzXY/jl/NqQhP/12IOHrK8fEb2LY8wMBZHU1etfCawendIlsToaAigCWL9mowRuPwy3Qn6MzqvJbVSCfWAcFw3GLOl2SBpdAulnYNKbIxXtxO8VC2F0fgeAS0pxkeW6ggHgmuV5SWwylWfM7isaxpocs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715947374; c=relaxed/simple; bh=zHg6FXws3eyZm1YG+Wmaha8ViBudC9ZXT1fgLLMIey4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P1EJe2vKUHsDJuXPEmA77PzbmsED4CBThEqLEDuP3Ot+ApY+FgDGqXPVpqIwQzW6zjVJA6VErLRpHnKm7ofGDr+iTakhVsr5dw3q7YQ5OvEfDsPWHo89NhMr65JERok76h7hjtjNGHMIcHWkftzM35zeMW1hMy5/mxGWRrO/3u0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KSjdaVuD; 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="KSjdaVuD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDF20C2BD10; Fri, 17 May 2024 12:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715947374; bh=zHg6FXws3eyZm1YG+Wmaha8ViBudC9ZXT1fgLLMIey4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KSjdaVuDhjQ0LxQakcNwhYY87WMIA6HCNRkbxag+02xD77GsDfSJZn1N7hcHDLPM0 /poM06UHwuspomx9aGmNTdiGuxC6M1ACbb8f6pqs0bkyVW79+qTAhVxYVg0q4dbEcX ZLLudF4LgUA0ziAN8K7Fq8eKJx6Xo5984KJ2cQ9A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27422: netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout Date: Fri, 17 May 2024 14:02:22 +0200 Message-ID: <2024051720-CVE-2024-27422-2854@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=2824; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zHg6FXws3eyZm1YG+Wmaha8ViBudC9ZXT1fgLLMIey4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnu7j5vWE3CSg//C9KtlPkgf85BT1kn7dd3c9NzsrLGG x3nBR3tiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIvoMCxYtKy9Lt/+i8Wd2+eW 6iRY+t+LSitmmCtSui92ledCgULpneaXDryekHH2PQsA 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_no_activity_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-27422 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 4.19.310 with commit 73426c32e259 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.4.272 with commit cbba77abb4a5 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.10.213 with commit 01d4e3afe257 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.15.152 with commit 4eacb242e22e Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.1.82 with commit 498f1d6da11e Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.6.22 with commit 2309b369fae2 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.7.10 with commit 6f254abae02a Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.8 with commit f99b494b4043 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-27422 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/73426c32e259c767d40613b956d5b80d0c28a9a9 https://git.kernel.org/stable/c/cbba77abb4a553c1f5afac1ba2a0861aa1f13549 https://git.kernel.org/stable/c/01d4e3afe257768cd2a45f15a0e57bacf932b140 https://git.kernel.org/stable/c/4eacb242e22e31385a50a393681d0fe4b55ed1e9 https://git.kernel.org/stable/c/498f1d6da11ed6d736d655a2db14ee2d9569eecb https://git.kernel.org/stable/c/2309b369fae2d9cdc3c945cd3eaec84eb1958ca3 https://git.kernel.org/stable/c/6f254abae02abd4a0aca062c1b3812d7e2d8ea94 https://git.kernel.org/stable/c/f99b494b40431f0ca416859f2345746199398e2b