Bug 2337127 (CVE-2024-57799) - CVE-2024-57799 kernel: phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM
Summary: CVE-2024-57799 kernel: phy: rockchip: samsung-hdptx: Set drvdata before enabl...
Keywords:
Status: NEW
Alias: CVE-2024-57799
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-11 13:03 UTC by OSIDB Bzimport
Modified: 2025-01-21 13:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-11 13:03:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM

In some cases, rk_hdptx_phy_runtime_resume() may be invoked before
platform_set_drvdata() is executed in ->probe(), leading to a NULL
pointer dereference when using the return of dev_get_drvdata().

Ensure platform_set_drvdata() is called before devm_pm_runtime_enable().

Comment 1 Avinash Hanwate 2025-01-13 06:27:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011151-CVE-2024-57799-ae66@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.