From mboxrd@z Thu Jan 1 00:00:00 1970 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 29B60146D41 for ; Tue, 21 May 2024 15:39:45 +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=1716305985; cv=none; b=Qh1A8L5yPHb3qu1Og/myoVQyd0ohrtIZI9dkReljEkr/tkXesg4T12w2zQPZfNjCuHO2t9Iaq7I/1in2u9uxIhrQBeJEhEM3hozgRkETlUNyA2N08P3W0KZdZHQYGrXDxN5BfC55Zttkfq6SNpzAhDN1DAAtDIoSjFs6RkgpiEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305985; c=relaxed/simple; bh=Ca9/hIPBBXG8hMV83dR5g2sx0KdzL/3cSoOvzUOk6Mk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iyDwhTym5DNlyglqoqj9Kfv4qXE96eq5zNU4OxZopFDwVyVjTORoYo2VMffiUu5JO66l3yI9yiP2pZ7hRQjH4OhsH3TSBY3ZIRA5peBNpOfnU5i0atMKCaMD3ixbS0LXrZi8t/dCFqsTwHfFhgyB+1Ysueltg2eRx4QRWeCd1Bg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t+AHCJcX; 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="t+AHCJcX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A64F3C2BD11; Tue, 21 May 2024 15:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305985; bh=Ca9/hIPBBXG8hMV83dR5g2sx0KdzL/3cSoOvzUOk6Mk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t+AHCJcXmJPLIuiTDMGsC6bBKmqAPIX1//lZbn//t2VJy4XWz4oKSfWjEH5VtpK7p B1Tm6AADcMFSPXebCtJcGwndOZVuLDqcngEMQPG75CjA30Jt46wQHspZB5V3eSBzzX VQ0VZ3HIFc7vAiQAwBtCKhZow4++jPb/nWh78dIc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52844: media: vidtv: psi: Add check for kstrdup Date: Tue, 21 May 2024 17:32:20 +0200 Message-ID: <2024052112-CVE-2023-52844-e2e7@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=2467; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ca9/hIPBBXG8hMV83dR5g2sx0KdzL/3cSoOvzUOk6Mk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++xwuHYlaFv92oaFDkIxSlNcV6zMhwf6shS5iWebO/ 1kW7zDoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlESjIsmHjl/7Ip8u+1TUXe r++wX5p5fesFX4YFDYyW7SLZBxzCs6bEz324leenyNZJAA== 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: media: vidtv: psi: Add check for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2023-52844 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 5.10.201 with commit 3387490c89b1 Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 5.15.139 with commit d17269fb9161 Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 6.1.63 with commit 5c26aae37239 Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 6.5.12 with commit 5cfcc8de7d73 Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 6.6.2 with commit a51335704a3f Issue introduced in 5.10 with commit 7a7899f6f58e and fixed in 6.7 with commit 76a2c5df6ca8 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-52844 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: drivers/media/test-drivers/vidtv/vidtv_psi.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/3387490c89b10aeb4e71d78b65dbc9ba4b2385b9 https://git.kernel.org/stable/c/d17269fb9161995303985ab2fe6f16cfb72152f9 https://git.kernel.org/stable/c/5c26aae3723965c291c65dd2ecad6a3240d422b0 https://git.kernel.org/stable/c/5cfcc8de7d733a1137b86954cc28ce99972311ad https://git.kernel.org/stable/c/a51335704a3f90eaf23a6864faefca34b382490a https://git.kernel.org/stable/c/76a2c5df6ca8bd8ada45e953b8c72b746f42918d