CVE-2026-74449: drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport

Published Aug 15, 2026
·
Updated

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

drm/amd/display: Fix divide-by-zero in calculatemcachesetting on zero viewport

If a plane reaches calculatemcachesetting with a zero-area viewport, calculatemcachesetting exits early with nummcaches == 0 and mvmpgwidth/height == 0. This will cause a divide-by-zero panic and can also cause an underflow on nummcaches.

Fix this by changing calculatemcachesetting to bool and adding guards after each calculatemcacherowbytes call. If nummcaches or mvmpgwidth/height is zero, return a false. Callers will propagate the failure as a rejected mode, which prevents the panic.

(cherry picked from commit 29c0f7c655f47bcbd575ff75e58480df6ec3c9da)

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In drm/amd/display, change calculate_mcache_setting to return bool and add guards: if num_mcaches==0 exit early (rejected mode to prevent panic), and if mvmpg_width/height == 0 (e.g., zero-area viewport) return false before calling calculate_mcache_row_bytes.

    Linux kernel (drm/amd/display) calculate_mcache_setting return type and guards = bool; if num_mcaches==0 or mvmpg_width/height==0 then return false / exit early

Event History

Aug 15, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74449?

CVE-2026-74449 has a risk rating of 34, indicating it is a low to moderate severity vulnerability.

2

How do I fix CVE-2026-74449?

To fix CVE-2026-74449, you should update your Linux kernel to the latest patched version that addresses this divide-by-zero vulnerability.

3

What systems are affected by CVE-2026-74449?

CVE-2026-74449 affects systems running the Linux kernel with the AMD display driver that could encounter a zero-area viewport.

4

What type of vulnerability is CVE-2026-74449?

CVE-2026-74449 is a divide-by-zero vulnerability found in the calculate_mcache_setting function.

5

Is CVE-2026-74449 being actively exploited?

As of now, there are no known active exploits for CVE-2026-74449 in the wild.

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