{"id":"CVE-2024-50239","summary":"phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend\n\nCommit 413db06c05e7 (\"phy: qcom-qmp-usb: clean up probe initialisation\")\nremoved most users of the platform device driver data from the\nqcom-qmp-usb driver, but mistakenly also removed the initialisation\ndespite the data still being used in the runtime PM callbacks. This bug\nwas later reproduced when the driver was copied to create the\nqmp-usb-legacy driver.\n\nRestore the driver data initialisation at probe to avoid a NULL-pointer\ndereference on runtime suspend.\n\nApparently no one uses runtime PM, which currently needs to be enabled\nmanually through sysfs, with these drivers.","modified":"2026-04-02T12:21:21.226212Z","published":"2024-11-09T10:14:49.171Z","related":["MGASA-2024-0368","MGASA-2024-0369","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50239.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/29240130ab77c80bea1464317ae2a5fd29c16a0c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e8066811a2c43fbb5f53c2c26d389e4bab9da34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1cffd00daa9cf499b49a0da698eff5032914f6e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50239.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50239"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e464a3180a43b6596bd267f9f274e1793bfb8150"},{"fixed":"7e8066811a2c43fbb5f53c2c26d389e4bab9da34"},{"fixed":"b1cffd00daa9cf499b49a0da698eff5032914f6e"},{"fixed":"29240130ab77c80bea1464317ae2a5fd29c16a0c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50239.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}