CWE
119 125
Advisory Published
CVE Published
Updated

CVE-2024-26660: drm/amd/display: Implement bounds check for stream encoder creation in DCN301

First published: Tue Apr 02 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Implement bounds check for stream encoder creation in DCN301 'stream_enc_regs' array is an array of dcn10_stream_enc_registers structures. The array is initialized with four elements, corresponding to the four calls to stream_enc_regs() in the array initializer. This means that valid indices for this array are 0, 1, 2, and 3. The error message 'stream_enc_regs' 4 <= 5 below, is indicating that there is an attempt to access this array with an index of 5, which is out of bounds. This could lead to undefined behavior Here, eng_id is used as an index to access the stream_enc_regs array. If eng_id is 5, this would result in an out-of-bounds access on the stream_enc_regs array. Thus fixing Buffer overflow error in dcn301_stream_encoder_create reported by Smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn301/dcn301_resource.c:1011 dcn301_stream_encoder_create() error: buffer overflow 'stream_enc_regs' 4 <= 5

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
redhat/kernel<5.15.149
5.15.149
redhat/kernel<6.1.78
6.1.78
redhat/kernel<6.6.17
6.6.17
redhat/kernel<6.7.5
6.7.5
redhat/kernel<6.8
6.8
Linux Kernel>=5.11<5.15.149
Linux Kernel>=5.16<6.1.78
Linux Kernel>=6.2<6.6.17
Linux Kernel>=6.7<6.7.5
Linux Kernel=6.8-rc1
Linux Kernel=6.8-rc2
Linux Kernel=6.8-rc3
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.133-1
6.12.21-1
6.12.22-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-26660?

    CVE-2024-26660 is considered a critical vulnerability due to its potential impact on system security.

  • How do I fix CVE-2024-26660?

    To fix CVE-2024-26660, upgrade the Linux kernel to version 5.15.149, 6.1.78, 6.6.17, 6.7.5, or 6.8 on Red Hat systems, or to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1 on Debian.

  • Which systems are affected by CVE-2024-26660?

    CVE-2024-26660 affects various Linux kernel versions used in Red Hat and Debian distributions.

  • What components are compromised in CVE-2024-26660?

    CVE-2024-26660 compromises the stream encoder creation in the AMD display driver within the Linux kernel.

  • When was CVE-2024-26660 identified?

    CVE-2024-26660 was identified as a vulnerability impacting the Linux kernel and reported in early 2024.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203