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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-369
- **Published:** 2026-05-01T14:14:57.287Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 80cc84bdc49addaee6b6e4f735f574ab5a424c42; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 481f7a463ae4bea9503ae7fa1481ad75dc872af4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 55efe8402f46af8399c8b634a18b130a05fd7820; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 86e926b108880c0109b8635e459450447156aeb7; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c
- Anyone running Linux 5.6

## 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)

## Affected and fixed versions

- Linux: \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 80cc84bdc49addaee6b6e4f735f574ab5a424c42; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 481f7a463ae4bea9503ae7fa1481ad75dc872af4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 55efe8402f46af8399c8b634a18b130a05fd7820; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 86e926b108880c0109b8635e459450447156aeb7; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31767. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31767.md
Affected: Linux >= 53693f02d80e0a909e76c2a25f8aac8515f959db, < 80cc84bdc49addaee6b6e4f735f574ab5a424c42; >= 53693f02d80e0a909e76c2a25f8aac8515f959db, < 481f7a463ae4bea9503ae7fa1481ad75dc872af4; >= 53693f02d80e0a909e76c2a25f8aac8515f959db, < 55efe8402f46af8399c8b634a18b130a05fd7820; >= 53693f02d80e0a909e76c2a…
Fixed in: Linux 80cc84bdc49addaee6b6e4f735f574ab5a424c42, Linux 481f7a463ae4bea9503ae7fa1481ad75dc872af4, Linux 55efe8402f46af8399c8b634a18b130a05fd7820, Linux 86e926b108880c0109b8635e459450447156aeb7, Linux 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4, Linux 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31767 being exploited?

There is no confirmed exploitation: CVE-2026-31767 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31767?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31767?

Linux \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 80cc84bdc49addaee6b6e4f735f574ab5a424c42; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 481f7a463ae4bea9503ae7fa1481ad75dc872af4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 55efe8402f46af8399c8b634a18b130a05fd7820; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 86e926b108880c0109b8635e459450447156aeb7; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4; \>= 53693f02d80e0a909e76c2a25f8aac8515f959db, \< 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c; Linux 5.6.

### Is there a fix for CVE-2026-31767?

Yes. Fixed in Linux 80cc84bdc49addaee6b6e4f735f574ab5a424c42, Linux 481f7a463ae4bea9503ae7fa1481ad75dc872af4, Linux 55efe8402f46af8399c8b634a18b130a05fd7820, Linux 86e926b108880c0109b8635e459450447156aeb7, Linux 33b5336e4fd8ba0e40a12989cadb3f5534a0f9e4, Linux 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c. Upgrade Linux to 4dfce79e098915d8e5fc2b9e1d980bc3251dd32c or later.

### How do I check if I'm affected by CVE-2026-31767?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/80cc84bdc49addaee6b6e4f735f574ab5a424c42>
- other: <https://git.kernel.org/stable/c/481f7a463ae4bea9503ae7fa1481ad75dc872af4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31767>

HTML: <https://flawdb.com/CVE-2026-31767> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31767>
