{"id":"CVE-2024-39498","state":"PUBLISHED","title":"drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2","description":"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->dev 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)","publishedAt":"2024-07-12T12:20:32.980Z","updatedAt":"2026-05-11T20:21:43.484Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49","status":"affected","lessThan":"8e21de5f99b2368a5155037ce0aae8aaba3f5241","versionType":"git"},{"version":"5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49","status":"affected","lessThan":"5a507b7d2be15fddb95bf8dee01110b723e2bcd9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c","drivers/gpu/drm/display/drm_dp_mst_topology.c","drivers/gpu/drm/i915/display/intel_dp_mst.c","drivers/gpu/drm/nouveau/dispnv50/disp.c","include/drm/display/drm_dp_mst_helper.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.9.6","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c","drivers/gpu/drm/display/drm_dp_mst_topology.c","drivers/gpu/drm/i915/display/intel_dp_mst.c","drivers/gpu/drm/nouveau/dispnv50/disp.c","include/drm/display/drm_dp_mst_helper.h"]}],"references":["https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241","https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39498.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-39498","state":"PUBLISHED","datePublished":"2024-07-12T12:20:32.980Z","dateUpdated":"2026-05-11T20:21:43.484Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-06-25T14:23:23.751Z"},"containers":{"cna":{"title":"drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2","descriptions":[{"lang":"en","value":"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->dev 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)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49","status":"affected","lessThan":"8e21de5f99b2368a5155037ce0aae8aaba3f5241","versionType":"git"},{"version":"5aa1dfcdf0a429e4941e2eef75b006a8c7a8ac49","status":"affected","lessThan":"5a507b7d2be15fddb95bf8dee01110b723e2bcd9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c","drivers/gpu/drm/display/drm_dp_mst_topology.c","drivers/gpu/drm/i915/display/intel_dp_mst.c","drivers/gpu/drm/nouveau/dispnv50/disp.c","include/drm/display/drm_dp_mst_helper.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.9.6","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c","drivers/gpu/drm/display/drm_dp_mst_topology.c","drivers/gpu/drm/i915/display/intel_dp_mst.c","drivers/gpu/drm/nouveau/dispnv50/disp.c","include/drm/display/drm_dp_mst_helper.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241"},{"url":"https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:21:43.484Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.9.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:26:15.796Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-39498","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:07:19.937077Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:40.808Z"}}]}}}