CVE-2024-39498

Source
https://cve.org/CVERecord?id=CVE-2024-39498
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39498.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-39498
Downstream
Related
Published
2024-07-12T12:20:32.980Z
Modified
2026-03-23T05:11:58.128355Z
Summary
drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/mst: Fix NULL pointer dereference at drmdpaddpayloadpart2

[Why] Commit: - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload allocation/removement") accidently overwrite the commit - commit 54d217406afe ("drm: use mgr->dev in drmdbgkms in drmdpaddpayloadpart2") which cause regression.

[How] Recover the original NULL fix and remove the unnecessary input parameter 'state' for drmdpaddpayloadpart2().

(cherry picked from commit 4545614c1d8da603e57b60dd66224d81b6ffc305)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39498.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/cve-osv-conversion/osv-output/CVE-2024-39498.json"