{"id":"CVE-2024-39498","summary":"drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2\n\n[Why]\nCommit:\n- commit 5aa1dfcdf0a4 (\"drm/mst: Refactor the flow for payload allocation/removement\")\naccidently overwrite the commit\n- commit 54d217406afe (\"drm: use mgr-\u003edev in drm_dbg_kms in drm_dp_add_payload_part2\")\nwhich cause regression.\n\n[How]\nRecover the original NULL fix and remove the unnecessary input parameter 'state' for\ndrm_dp_add_payload_part2().\n\n(cherry picked from commit 4545614c1d8da603e57b60dd66224d81b6ffc305)","modified":"2026-03-20T12:37:16.746522Z","published":"2024-07-12T12:20:32.980Z","related":["SUSE-SU-2024:2802-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39498.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39498.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39498"},{"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":"5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49"},{"fixed":"8e21de5f99b2368a5155037ce0aae8aaba3f5241"},{"fixed":"5a507b7d2be15fddb95bf8dee01110b723e2bcd9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39498.json"}}],"schema_version":"1.7.5"}