CVE-2024-57799 Information

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

Reference

https://git.kernel.org/stable/c/7061849a4a1752a06944a819dd1f7bfd58df7383 https://git.kernel.org/stable/c/9d23e48654620fdccfcc74cc2cef04eaf7353d07

Share on: