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 3ED961F3D49 for ; Fri, 27 Dec 2024 13:54:43 +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=1735307683; cv=none; b=Y3Y7McqImpWwTqtsXxraHHh3FVxeTQvX6cjiBhbnyaiQ0mZ+EaME+Ixtj4Eg45BRIBaSTiruD+JNZ+nPesMJ5C8PxqFUZSG0tcEXw+jOq239bTrQDBIv5qRWc20K9PIvCdSaYdguPsGuT6oWTv4z1RHJec2kwLTLpNR18uCYmgY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735307683; c=relaxed/simple; bh=948qP1IcLyoNwVKbj8NC2iFKDU1JFrdvzdhoQo2LA5A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pDIk223tKv5XY1knHQLXmpMCEK9BuXanraFGXkMiqDssCVG1dwU5nxXNJuY51eHhemGTJMIpN/vT86tsLt+fvdgWxBSmLXECnYOD0l947encfnUep4U8EWS5ut0ZghaucgUuZClxwzAtQdb+trAFSXWPv9saZPPaJDrXAJE+pTE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gKwM6IT7; 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="gKwM6IT7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1A5CC4CED0; Fri, 27 Dec 2024 13:54:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735307683; bh=948qP1IcLyoNwVKbj8NC2iFKDU1JFrdvzdhoQo2LA5A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gKwM6IT7uyDcp4DVg0EEPFDvwp9tHewE6khxZEHmA0rpPamH5PhyzL58SK4DYv4mb r+6rmYeTkwjg2wnBqdnKQgKHQsyeKve8iFZAZdLwXKzPdqeIwfZp7wRKH9/WkqJBHP XjbXBfqzpzLqAE03NFzJ3fQVcXwvCVG6RkV5+1XM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53205: phy: realtek: usb: fix NULL deref in rtk_usb2phy_probe Date: Fri, 27 Dec 2024 14:52:51 +0100 Message-ID: <2024122728-CVE-2024-53205-1be1@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=948qP1IcLyoNwVKbj8NC2iFKDU1JFrdvzdhoQo2LA5A=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5G2U+pxulcadlzxDIjeDM/fhTSDrov1eaV03w2kWL/ 19M/nOvI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby4wXDgpVadk4VuUstJlcd /j5l38fNi7imL2GYH7Mmvrb38K/nRybv7xVOaP495dt1GQA= 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_usb2phy_probe In rtk_usb2phy_probe() devm_kzalloc() may return NULL but this returned value is not checked. The Linux kernel CVE team has assigned CVE-2024-53205 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955 and fixed in 6.11.11 with commit 0b398b6b6c94315fd2ce3658e3cee96539dbd7b7 Issue introduced in 6.6 with commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955 and fixed in 6.12.2 with commit fb83c9a08324e37f321ffb400809aa4310387d65 Issue introduced in 6.6 with commit 134e6d25f6bd06071e5aac0a7eefcea6f7713955 and fixed in 6.13-rc1 with commit 04e3e9188291a183b27306ddb833722c0d083d6a 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-53205 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-usb2.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/0b398b6b6c94315fd2ce3658e3cee96539dbd7b7 https://git.kernel.org/stable/c/fb83c9a08324e37f321ffb400809aa4310387d65 https://git.kernel.org/stable/c/04e3e9188291a183b27306ddb833722c0d083d6a