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

Published Jan 11, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

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

Ensure platformsetdrvdata() is called before devmpmruntimeenable().

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

— Launchpad

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=6.9<6.12.8
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
debian/linux<6.12.8-1
6.12.8-1
debian/linux<6.12.8-1
6.12.8-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Configuration

    Call platform_set_drvdata() before devm_pm_runtime_enable() in the probe path so rk_hdptx_phy_runtime_resume() cannot use a NULL dev_get_drvdata() result.

    Linux kernel phy: rockchip: samsung-hdptx platform_set_drvdata() ordering = before devm_pm_runtime_enable()

Event History

Jan 11, 2025
CVE Published
via MITRE·12:39 PM
Data Sourced
via MITRE·12:39 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57799?

CVE-2024-57799 has a medium severity due to potential NULL pointer dereference which can lead to system instability.

2

How do I fix CVE-2024-57799?

To fix CVE-2024-57799, update the Linux kernel to a version later than 6.12.8 or apply the relevant patches.

3

Which versions of Linux Kernel are affected by CVE-2024-57799?

CVE-2024-57799 affects Linux Kernel versions from 6.9 to 6.12.8, including specific release candidates 6.13-rc1 to 6.13-rc4.

4

What causes the vulnerability CVE-2024-57799?

CVE-2024-57799 is caused by the invocation of rk_hdptx_phy_runtime_resume() before platform_set_drvdata() in the driver probe sequence.

5

Is CVE-2024-57799 being actively exploited?

As of now, there are no reports indicating that CVE-2024-57799 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203