CVE-2026-99118: drm/i915/dmc: Harden DMC firmware payload parsing
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/i915/dmc: Harden DMC firmware payload parsing
Validate the conversion of the DMC firmware size from dwords to bytes using check_mul_overflow() before calculating the firmware payload size.
Reject zero-length payloads and zero MMIO counts in the DMC firmware header so malformed firmware is caught early. Also set dmc_fw_size only after the payload allocation succeeds.
(cherry picked from commit efde6601a1f1daedfe3dcc2816c934ddb44e3eef)
The Linux kernel CVE team has assigned CVE-2026-99118 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.2 with commit eb805623d8b161342ed9c9caf366f0a295041a6d and fixed in 6.18.59 with commit dfcfe2874e7c16e8460dc86ac1eeb54ea0e7f8aa Issue introduced in 4.2 with commit eb805623d8b161342ed9c9caf366f0a295041a6d and fixed in 7.2.13 with commit 05f7a2f712f8b287a98ee61a7c2c6b72dad2fc6d Issue introduced in 4.2 with commit eb805623d8b161342ed9c9caf366f0a295041a6d and fixed in 7.3 with commit 8bb1858db453cd4250e3b633f5d2d09206024ca6
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99118
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/i915/display/intel_dmc.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/dfcfe2874e7c16e8460dc86ac1eeb54ea0e7f8aa https://git.kernel.org/stable/c/05f7a2f712f8b287a98ee61a7c2c6b72dad2fc6d https://git.kernel.org/stable/c/8bb1858db453cd4250e3b633f5d2d09206024ca6