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 F37CB33343D for ; Wed, 24 Dec 2025 12:27:56 +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=1766579277; cv=none; b=MFQtM9x1PHdLcSY/xDE6IUpsHgmDbUkM3ogDN4O5Umxqz92tfqZ6rHUyuw9MPR8RBbd0RguEOTv5VxsRoNxxOITolCKE+SNUCKbiNMuYpiyiletmFDvrB94vbK+MeKOkLJZNOBkKZaHXT7TVRGdbd2+++8gqlzGl12Dx569/ZYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579277; c=relaxed/simple; bh=DC95ttK4gU5xYr0f1GYiVEM355pPdQwDacNYD3Hdv6s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q3Mvh2qODyhdn87MDYt4NzUevFEFiHTeoLDVuImr/ooFBKUnAV93R/Pf/oBU9jB0stWPpHpjrJTvSfAZrBXMerKCGoWSyzkTHH0oWxeYl+7XjYGjZoXYYgnje04CXO4949dJcGt031Mw3zoBEQbkaUQzuepZ0jX2zY17t7JpBjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DI5hEfAF; 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="DI5hEfAF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D974C4CEFB; Wed, 24 Dec 2025 12:27:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579276; bh=DC95ttK4gU5xYr0f1GYiVEM355pPdQwDacNYD3Hdv6s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=DI5hEfAFGQnYMZ2tnLL6xr29V8UiyKnbHQ+Q92N+Clr0/8nkg4yp3lBHBtG5mVI0H ac3VkUV8179Cy4dGLaFdKCl+qu1CaB7udrhkh9DrNJzyFt9F4A42o7FeUZQYV5CFKp haSedwdkb53zC+SngQvQmuZX7GiqTSmt7Szi7zeM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54049: rpmsg: glink: Add check for kstrdup Date: Wed, 24 Dec 2025 13:26:42 +0100 Message-ID: <2025122424-CVE-2023-54049-79f7@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3476; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fCgFo3LI1KWysRKmrBaYSK88Qh6U+2yBWy706rZ6bAc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnetz/Ymv38ZW8Sub6kMHTO5SW+PxblVu4/dizW1UTqU 7lOoQdvRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk6hbDgq5oqYfL7RT3r69Z JLV5wvvjb5sEDjIsmMW9xiFMfumN1GsP9Sseei9+tvLZHQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: rpmsg: glink: 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-54049 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 4.14.326 with commit 5197498c902502127a47abda5359dd7f1d41946f Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 4.19.295 with commit 13928a837e0f014dac0322dd9f8a67c486e7f232 Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 5.4.257 with commit efa7f31669f04084ed5996ed467ba529f4c90467 Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 5.10.195 with commit 71ac2ffd7f80fdd350486f6645dc48456e55a59b Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 5.15.132 with commit abd740db896b3c588dced175af98b95852c1854b Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 6.1.53 with commit cae0787e408c30a575760a531ccb69a6b48bbfaf Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 6.4.16 with commit 174cf8853857c190a3c4f1f1d2d06cfd095fe859 Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 6.5.3 with commit e3734a9558afac91df3c655a6f2376b9d14933b7 Issue introduced in 4.13 with commit b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 and fixed in 6.6 with commit b5c9ee8296a3760760c7b5d2e305f91412adc795 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-54049 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/rpmsg/qcom_glink_native.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/5197498c902502127a47abda5359dd7f1d41946f https://git.kernel.org/stable/c/13928a837e0f014dac0322dd9f8a67c486e7f232 https://git.kernel.org/stable/c/efa7f31669f04084ed5996ed467ba529f4c90467 https://git.kernel.org/stable/c/71ac2ffd7f80fdd350486f6645dc48456e55a59b https://git.kernel.org/stable/c/abd740db896b3c588dced175af98b95852c1854b https://git.kernel.org/stable/c/cae0787e408c30a575760a531ccb69a6b48bbfaf https://git.kernel.org/stable/c/174cf8853857c190a3c4f1f1d2d06cfd095fe859 https://git.kernel.org/stable/c/e3734a9558afac91df3c655a6f2376b9d14933b7 https://git.kernel.org/stable/c/b5c9ee8296a3760760c7b5d2e305f91412adc795