CVE-2026-80741 PUBLISHED

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

Assigner: Linux
Reserved: 26.08.2026 Published: 03.09.2026 Updated: 03.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 25e2c2a3eff55683bbe77b108db2a7e389246666 to 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee (excl.)
  • affected from 25e2c2a3eff55683bbe77b108db2a7e389246666 to 16bcea56f4205314ec2aa04a7ec74e5261d253c7 (excl.)
  • affected from 25e2c2a3eff55683bbe77b108db2a7e389246666 to 60baa179ed1333535f6e2da4133511db55278ee4 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.14 is affected
  • unaffected from 0 to 6.14 (excl.)
  • unaffected from 6.18.46 to 6.18.* (incl.)
  • unaffected from 7.1.10 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References