# CVE-2026-31767: drm/i915/dsi: Don't do DSC horizontal timing adjustments in command mode

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:57.287Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/i915/dsi: Don't do DSC horizontal timing adjustments in command mode

Stop adjusting the horizontal timing values based on the
compression ratio in command mode. Bspec seems to be telling
us to do this only in video mode, and this is also how the
Windows driver does things.

This should also fix a div-by-zero on some machines because
the adjusted htotal ends up being so small that we end up with
line_time_us==0 when trying to determine the vtotal value in
command mode.

Note that this doesn't actually make the display on the
Huawei Matebook E work, but at least the kernel no longer
explodes when the driver loads.

(cherry picked from commit 0b475e91ecc2313207196c6d7fd5c53e1a878525)

(As written by CVE List.)

## Affected

- Linux Linux: from 53693f02d80e0a909e76c2a25f8aac8515f959db before 80cc84bdc49addaee6b6e4f735f574ab5a424c42; from 53693f02d80e0a909e76c2a25f8aac8515f959db before 481f7a463ae4bea9503ae7fa1481ad75dc872af4; from 53693f02d80e0a909e76c2a25f8aac8515f959db before 55efe8402f46af8399c8b634a18b130a05fd7820; from 53693f02d80e0a909e76c2a25f8aac8515f959db before 86e926b108880c0109b8635e459450447156aeb7; from 53693f02d80e0a909e76c2a25f8aac8515f959db before 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4; from 53693f02d80e0a909e76c2a25f8aac8515f959db before 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c; 5.6 (not affected: before 5.6; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.6 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/80cc84bdc49addaee6b6e4f735f574ab5a424c42>
- <https://git.kernel.org/stable/c/481f7a463ae4bea9503ae7fa1481ad75dc872af4>
- <https://git.kernel.org/stable/c/55efe8402f46af8399c8b634a18b130a05fd7820> (patch)
- <https://git.kernel.org/stable/c/86e926b108880c0109b8635e459450447156aeb7> (patch)
- <https://git.kernel.org/stable/c/33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4> (patch)
- <https://git.kernel.org/stable/c/4dfce79e098915d8e5fc2b9e1d980bc3251dd32c> (patch)

## Sources

- CVE List: [CVE-2026-31767](https://www.cve.org/CVERecord?id=CVE-2026-31767), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-31767](https://nvd.nist.gov/vuln/detail/CVE-2026-31767), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31767 · Whole record: https://cve.day/CVE-2026-31767.json · Rebuilt by cve.day 2026-11-25T22:59:20.377Z
