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 devmpmruntime_enable().
[
{
"deprecated": false,
"target": {
"file": "drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"18886521669018329915030249217710651314",
"230632805712475630332971363273693392865",
"64872937168035776606303465586648938882",
"212727503228795392892175102790604090530",
"20532756178500834670808499194748236623",
"328847607404307486179020094737015929659",
"239545391338656834037344494665047080799"
]
},
"id": "CVE-2024-57799-030259a8",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7061849a4a1752a06944a819dd1f7bfd58df7383",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c",
"function": "rk_hdptx_phy_probe"
},
"digest": {
"length": 1907.0,
"function_hash": "197225736752788395226177897280184940973"
},
"id": "CVE-2024-57799-09a83a26",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d23e48654620fdccfcc74cc2cef04eaf7353d07",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"18886521669018329915030249217710651314",
"230632805712475630332971363273693392865",
"64872937168035776606303465586648938882",
"212727503228795392892175102790604090530",
"20532756178500834670808499194748236623",
"328847607404307486179020094737015929659",
"239545391338656834037344494665047080799"
]
},
"id": "CVE-2024-57799-87b20eaf",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d23e48654620fdccfcc74cc2cef04eaf7353d07",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c",
"function": "rk_hdptx_phy_probe"
},
"digest": {
"length": 2032.0,
"function_hash": "99146629036468312316842015872400360636"
},
"id": "CVE-2024-57799-e9723c38",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7061849a4a1752a06944a819dd1f7bfd58df7383",
"signature_version": "v1"
}
]