What’s Vulnerable › Vulnerabilities
CVE-2024-57799: phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-11 · updated 2026-06-17
- Weakness: CWE-476
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().
Affected products
- Linux kernel: from 6.9 before 6.12.8; 6.13-rc1, 6.13-rc2, 6.13-rc3, 6.13-rc4 — fixed in 6.12.8
How to fix
Upgrade to a fixed version: Linux kernel 6.12.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/7061849a4a1752a06944a819dd1f7bfd58df7383
- https://git.kernel.org/stable/c/9d23e48654620fdccfcc74cc2cef04eaf7353d07
Get alerted when CVE-2024-57799 or the next vulnerability affects your stack