Bug 1227723 (CVE-2024-39498) - VUL-0: CVE-2024-39498: kernel: drm/mst: fix NULL pointer dereference at drm_dp_add_payload_part2
Summary: VUL-0: CVE-2024-39498: kernel: drm/mst: fix NULL pointer dereference at drm_d...
Status: IN_PROGRESS
Alias: CVE-2024-39498
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413813/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-39498:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-12 17:50 UTC by SMASH SMASH
Modified: 2024-07-16 13:08 UTC (History)
5 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-12 17:50:18 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)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-39498
https://www.cve.org/CVERecord?id=CVE-2024-39498
https://git.kernel.org/stable/c/5a507b7d2be15fddb95bf8dee01110b723e2bcd9
https://git.kernel.org/stable/c/8e21de5f99b2368a5155037ce0aae8aaba3f5241
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-39498.mbox