GHSA-5gj3-6gp4-j7pmHighCVSS 7.1

In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix out-of-bounds...

Published
September 3, 2026
Last Modified
September 4, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (5)