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 8AE2F13C8F4 for ; Tue, 22 Oct 2024 07:37:37 +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=1729582657; cv=none; b=sY2t0EJ1uhOpDHU7hijwQCdF+BOc3Yry+NuHQ7md1VW0l83W39ZKs0rbJ9iqRNHbZRTfAnNwuo2YIWO6ZrYeExQl/4Rhwvw65+4cAIfoG26TMVcJsuxPmYo9IewX19qY6qTI8gBkfaN+LHQyhoRLX6YG50uEg5B23nC7IuqnNi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729582657; c=relaxed/simple; bh=uInOjIEWoff4NLhyr3uZVGPA0fqfBkyLveYZ+PuSv1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iISeJwWefjbZVbuPmt8G63ZpgM62HKNt14Gtxp0feeJW05AKSH5rfAW+A+z7ct/MTCbolgDboqD/vWb9Gq5r3bYb9a8620nkzkTIG5dGHGwgGCA1cWMq1Kl5FfUD+4FcB3fZeiMx18pC3YHImRTDNTg3YZ+efkI9NPT0G1gjLIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VhIPuKaP; 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="VhIPuKaP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA800C4CEC3; Tue, 22 Oct 2024 07:37:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729582657; bh=uInOjIEWoff4NLhyr3uZVGPA0fqfBkyLveYZ+PuSv1c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VhIPuKaPgvYyG65dOJhvqKNggD7vOxMrSDuUHcCabWM0OogLE8Xij993Lk52MFX6a QshZW+RoCGpnMzQMTGxBGiK6o0UBvFxFztJg0SiOHvjoUvYqbmDRcVSgNmPOzyGmce hBCZW4I96AXxrA7t8JouvcQeDtc5yjzf5r9bzZR4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52919: nfc: nci: fix possible NULL pointer dereference in send_acknowledge() Date: Tue, 22 Oct 2024 09:37:32 +0200 Message-ID: <2024102232-CVE-2023-52919-4a94@gregkh> X-Mailer: git-send-email 2.47.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=2817; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uInOjIEWoff4NLhyr3uZVGPA0fqfBkyLveYZ+PuSv1c=; b=owGbwMvMwCRo6H6F97bub03G02pJDOniYTb8sm77Qs+t3KZx1Otwy+Jl/LbHJ3FvfJWUdaZU4 mHA3bzlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRFxoMC877OOutL59yjevp TXb3s4ubjIsYxBgWrLlVGcBie26b37atk6+WuzY/OZiVBAA= 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: nfc: nci: fix possible NULL pointer dereference in send_acknowledge() Handle memory allocation failure from nci_skb_alloc() (calling alloc_skb()) to avoid possible NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2023-52919 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 4.14.328 with commit 2b2edf089df3 Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 4.19.297 with commit 5622592f8f74 Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 5.4.259 with commit 76050b0cc5a7 Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 5.10.199 with commit c95fa5b20fe0 Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 5.15.137 with commit ffdc881f6807 Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 6.1.60 with commit d7dbdbe3800a Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 6.5.9 with commit bb6cacc439dd Issue introduced in 3.11 with commit 391d8a2da787 and fixed in 6.6 with commit 7937609cd387 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-2023-52919 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/nci/spi.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/2b2edf089df3a69f0072c6e71563394c5a94e62e https://git.kernel.org/stable/c/5622592f8f74ae3e594379af02e64ea84772d0dd https://git.kernel.org/stable/c/76050b0cc5a72e0c7493287b7e18e1cb9e3c4612 https://git.kernel.org/stable/c/c95fa5b20fe03609e0894656fa43c18045b5097e https://git.kernel.org/stable/c/ffdc881f68073ff86bf21afb9bb954812e8278be https://git.kernel.org/stable/c/d7dbdbe3800a908eecd4975c31be47dd45e2104a https://git.kernel.org/stable/c/bb6cacc439ddd2cd51227ab193f4f91cfc7f014f https://git.kernel.org/stable/c/7937609cd387246aed994e81aa4fa951358fba41