# CVE-2024-39498: drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-12T12:20:32.980Z
- Modified: 2026-06-17T07:42:03.113Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

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

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

(cherry picked from commit 4545614c1d8da603e57b60dd66224d81b6ffc305)

(As written by CVE List.)

## Affected

- Linux Linux: from 5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49 before 8e21de5f99b2368a5155037ce0aae8aaba3f5241; from 5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49 before 5a507b7d2be15fddb95bf8dee01110b723e2bcd9; 6.7 (not affected: before 6.7; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.7 before 6.9.6

## References

- <https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241> (patch)
- <https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9> (patch)

## Sources

- CVE List: [CVE-2024-39498](https://www.cve.org/CVERecord?id=CVE-2024-39498), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-39498](https://nvd.nist.gov/vuln/detail/CVE-2024-39498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39498 · Whole record: https://cve.day/CVE-2024-39498.json · Rebuilt by cve.day 2026-11-25T22:58:42.818Z
