CVE-2024-57799

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

State
Published
Severity
5.5 Medium
Published
Jan 11, 2025
Updated
May 11, 2026
Reserved
Jan 11, 2025

Read the record on cve.org

Description

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().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 553be2830c5f33308483e8118de748a2c69fe593 to before 7061849a4a1752a06944a819dd1f7bfd58df7383Affected
  • 553be2830c5f33308483e8118de748a2c69fe593 to before 9d23e48654620fdccfcc74cc2cef04eaf7353d07Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.8 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.