Bug 2301486 (CVE-2024-42121) - CVE-2024-42121 kernel: drm/amd/display: Check index msg_id before read or write
Summary: CVE-2024-42121 kernel: drm/amd/display: Check index msg_id before read or write
Keywords:
Status: NEW
Alias: CVE-2024-42121
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301787
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:33 UTC by OSIDB Bzimport
Modified: 2024-09-11 12:44 UTC (History)
4 users (show)

Fixed In Version: kernel 5.10.222, kernel 5.15.163, kernel 6.1.98, kernel 6.6.39, kernel 6.9.9, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
msg_id is used as an array index and it cannot be a negative value, and therefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1).
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:33:24 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Check index msg_id before read or write

[WHAT]
msg_id is used as an array index and it cannot be a negative value, and
therefore cannot be equal to MOD_HDCP_MESSAGE_ID_INVALID (-1).

[HOW]
Check whether msg_id is valid before reading and setting.

This fixes 4 OVERRUN issues reported by Coverity.

Comment 1 Mauro Matteo Cascella 2024-07-30 19:15:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073024-CVE-2024-42121-2b28@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 19:15:40 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301787]


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