# CVE-2026-80741: drm/log: Fix out-of-bounds read on empty message length

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-03T08:26:25.322Z
- Modified: 2026-09-04T05:17:14.470Z
- Assigned by: Linux

## Description

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

drm/log: Fix out-of-bounds read on empty message length

drm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing
newline, but len is unsigned int. If len is 0, the subtraction wraps
to UINT_MAX, causing an out-of-bounds read.

Add an early return when len is 0.

(As written by CVE List.)

## Affected

- Linux Linux: from 25e2c2a3eff55683bbe77b108db2a7e389246666 before 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee; from 25e2c2a3eff55683bbe77b108db2a7e389246666 before 16bcea56f4205314ec2aa04a7ec74e5261d253c7; from 25e2c2a3eff55683bbe77b108db2a7e389246666 before 60baa179ed1333535f6e2da4133511db55278ee4; 6.14 (not affected: before 6.14; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/16a2716910ecf7d31bf3c033ee7c506a0b00b2ee>
- <https://git.kernel.org/stable/c/16bcea56f4205314ec2aa04a7ec74e5261d253c7>
- <https://git.kernel.org/stable/c/60baa179ed1333535f6e2da4133511db55278ee4>

## Sources

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

---

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