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 A48C41F4266 for ; Fri, 27 Dec 2024 13:54:39 +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=1735307679; cv=none; b=Ol9EQTmET2bkng0l/315GE2IGZStiSkt6YqQYt67OMSDIFO6x66U1fPS+H+YaSNGCMx4/QT0RpWLtz03vOoEat0mQ0XsMOoz0alndU1dc2cztrnlPd0C+Z5DGXXYRAVGPcFRIrf2ZeYT4cnonebaFkr0m89m91VQpsg5M8o/lfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735307679; c=relaxed/simple; bh=le+LKlyPrdHcfIDrpoxv/N0uN099YxJa5E+w4lOfpVc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aEbBukgg+4q+X8zd8AqOkDofalyEGeEYLYsOgDySF3me+Xh1Kxrx8R0WrOkz6cJguR/6LwRadMOTNAc0c+4S9BRzvU4VF5TCFSNmEgR2KPXXU/4F1xfgRg+MPo/SbRJjal6AdLCCoo0a8yjt587/RotO5nskHHaex0GDuDMqglY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wD+hPn6+; 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="wD+hPn6+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12133C4CED0; Fri, 27 Dec 2024 13:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735307679; bh=le+LKlyPrdHcfIDrpoxv/N0uN099YxJa5E+w4lOfpVc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wD+hPn6+vKpy28Edr0EluErMq0IR++cLR+4EYa5pFt2UCpvX4XLkoEmACqImchj6w u2YbJDKZO3NhRbD/VZLNxIhgWenv5C8vLhXX2728Qmx5lCixdW9Qy/XSUE5ZeiU32b W0aR6bnQlgQH9N2Rdu2dU5yFv2xxymlMqhWZkttA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53204: phy: realtek: usb: fix NULL deref in rtk_usb3phy_probe Date: Fri, 27 Dec 2024 14:52:50 +0100 Message-ID: <2024122727-CVE-2024-53204-0f6e@gregkh> X-Mailer: git-send-email 2.47.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=2096; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=le+LKlyPrdHcfIDrpoxv/N0uN099YxJa5E+w4lOfpVc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5G2Xak9++dxJ93PXu6sctgo5OYWUqi61u7N1x/KLf9 BPrp55g7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJiD1jmGdZVqcR+X43U9yL N533dkUvqOmMuMEwT73tZ/ScLZanHnjZyG7JVXvFkTrFEwA= 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: phy: realtek: usb: fix NULL deref in rtk_usb3phy_probe In rtk_usb3phy_probe() devm_kzalloc() may return NULL but this returned value is not checked. The Linux kernel CVE team has assigned CVE-2024-53204 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 and fixed in 6.11.11 with commit 48d52d3168749e10c1c37cd4ceccd18625851741 Issue introduced in 6.6 with commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 and fixed in 6.12.2 with commit 776f13ad1f88485206f1dca5ef138553106950e5 Issue introduced in 6.6 with commit adda6e82a7de7d6d478f6c8ef127f0ac51c510a1 and fixed in 6.13-rc1 with commit bf373d2919d98f3d1fe1b19a0304f72fe74386d9 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-53204 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/phy/realtek/phy-rtk-usb3.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/48d52d3168749e10c1c37cd4ceccd18625851741 https://git.kernel.org/stable/c/776f13ad1f88485206f1dca5ef138553106950e5 https://git.kernel.org/stable/c/bf373d2919d98f3d1fe1b19a0304f72fe74386d9