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 B555242072 for ; Sat, 2 Mar 2024 21:55:33 +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=1709416533; cv=none; b=VlpDbW6QMMlNHGu/b7jZDpsq/hE0w0k+s02LSGe7SxsFG2Q/gN+cqyJNK6k2buzou+UJkSzgx4KOmVhFlte9dI4WMhhViUE3xBhD48+aNah+V5pfMxmuz29BDU67YFsRr7y/o+dkqEDbxLGKxYz67yIKM5ahnsm4Q2YKw7X2yU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416533; c=relaxed/simple; bh=gSgbsPyaWGPjw8M87+kTWOPsex+jcDhR3/Vqt2KPtWA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TBciAGXLwPc3rsOEdx0vCze6axrcMCRL1AE3WAm87J88/+BWkFJ0kfJ2rHYzQQM/SQ/2VjPbko+59I2XZDbQRbU9jVmtaU32lzKszEPCK49qwjMtVq29ZkhwWGdrWAo46vkHLma4XlDHuygoCS4i5Olr85c1V86/dtQfjN7KTOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k05Frc5Y; 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="k05Frc5Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA760C433F1; Sat, 2 Mar 2024 21:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416533; bh=gSgbsPyaWGPjw8M87+kTWOPsex+jcDhR3/Vqt2KPtWA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=k05Frc5YGF1vSSQmWNQIXvqalb+eaCEUZu2/FRG+QIw4FcU8Jxvf4QfGB+bPWFkq8 L34axptMu+dNW8A7myrj/Nqx6VZ2lFyPpzwOFaHu97GFZCseTAefywbWQ/rqDtn+bw lapC7w+l6tAjMveeOb8iHFuOrZZLrsvkOg3hlqcA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52524: net: nfc: llcp: Add lock when modifying device list Date: Sat, 2 Mar 2024 22:53:08 +0100 Message-ID: <2024030253-CVE-2023-52524-a5e0@gregkh> X-Mailer: git-send-email 2.44.0 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=2467; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gSgbsPyaWGPjw8M87+kTWOPsex+jcDhR3/Vqt2KPtWA=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmP52/b/flay99pAdtr5U+1advMb++Ujpx2Okb77dNXT BUhj3k2dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEuv4xLJj9yDzvFNObtJpd cmIflRKqLSrenmFYMOe1gN2XB6qKM50fycqEM70wsBTuAgA= 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: nfc: llcp: Add lock when modifying device list The device list needs its associated lock held when modifying it, or the list could become corrupted, as syzbot discovered. The Linux kernel CVE team has assigned CVE-2023-52524 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.251 with commit dd6ff3f38627 and fixed in 5.4.258 with commit 191d87a19cf1 Issue introduced in 5.10.188 with commit 96f2c6f272ec and fixed in 5.10.198 with commit dba849cc9811 Issue introduced in 5.15.121 with commit fc8429f8d868 and fixed in 5.15.135 with commit 4837a192f6d0 Issue introduced in 6.1.39 with commit 425d9d3a92df and fixed in 6.1.57 with commit 7562780e32b8 Issue introduced in 6.5 with commit 6709d4b7bc2e and fixed in 6.5.7 with commit 29c16c2bf586 Issue introduced in 6.5 with commit 6709d4b7bc2e and fixed in 6.6 with commit dfc7f7a988da Please see https://www.kernel.org or 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-2023-52524 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/nfc/llcp_core.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/191d87a19cf1005ecf41e1ae08d74e17379e8391 https://git.kernel.org/stable/c/dba849cc98113b145c6e720122942c00b8012bdb https://git.kernel.org/stable/c/4837a192f6d06d5bb2f3f47d6ce5353ab69bf86b https://git.kernel.org/stable/c/7562780e32b84196731d57dd24563546fcf6d082 https://git.kernel.org/stable/c/29c16c2bf5866326d5fbc4a537b3997fcac23391 https://git.kernel.org/stable/c/dfc7f7a988dad34c3bf4c053124fb26aa6c5f916