CVE-2024-42121: drm/amd/display: Check index msg_id before read or write

Published Jul 30, 2024
·
Updated

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

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

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

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

This fixes 4 OVERRUN issues reported by Coverity.

Affected Software

7 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel>=4.15<5.10.222
Linux Linux kernel>=5.11<5.15.163
Linux Linux kernel>=5.16<6.1.98
Linux Linux kernel>=6.2<6.6.39
Linux Linux kernel>=6.7<6.9.9

Event History

Jul 30, 2024
CVE Published
via MITRE·07:46 AM
Data Sourced
via MITRE·07:46 AM
Description
Data Sourced
via NVD·08:15 AM
Description
Data Sourced
via NVD·08:15 AM
RemedySeverityWeaknessAffected Software
May 5, 2025
Data Sourced
via Ubuntu·12:35 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42121?

CVE-2024-42121 has a medium severity rating due to its potential impact on system stability and security.

2

How do I fix CVE-2024-42121?

To fix CVE-2024-42121, upgrade to the patched versions of the Linux kernel listed in the vulnerability advisory.

3

Which versions of the Linux kernel are affected by CVE-2024-42121?

CVE-2024-42121 affects various versions of the Linux kernel prior to the recommended patched versions.

4

Is CVE-2024-42121 a remote exploit vulnerability?

CVE-2024-42121 is not classified as a remote exploit vulnerability but may be exploited locally.

5

What components of the Linux system does CVE-2024-42121 impact?

CVE-2024-42121 impacts the drm/amd/display subsystem in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203