Bug 2297470 (CVE-2024-39498) - CVE-2024-39498 kernel: drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2
Summary: CVE-2024-39498 kernel: drm/mst: Fix NULL pointer dereference at drm_dp_add_pa...
Keywords:
Status: NEW
Alias: CVE-2024-39498
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:21 UTC by OSIDB Bzimport
Modified: 2024-07-15 16:35 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.6, kernel 6.10-rc1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-12 13:21:38 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.