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.
Published: 2026-09-03
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel DRM logging subsystem contains an out‑of‑bounds read that occurs when a message length of zero is processed. The function drm_log_draw_kmsg_record() accesses s[len-1] without verifying that len is non‑zero; because len is an unsigned integer, a zero value causes the subtraction to wrap to UINT_MAX, allowing a read beyond the intended bounds. An attacker who can trigger this code path could read arbitrary kernel memory, potentially leaking confidential data such as cryptographic keys or internal state. The flaw does not alter data or provide code execution but exposes information that should remain hidden.

Affected Systems

All Linux kernel releases that include the unpatched drm/log code are affected. The fix was merged into the stable tree via commit 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee; any kernel version prior to that commit, including most distribution‑supplied kernels before the update, contains the vulnerability. Specific affected ranges are not enumerated in the advisories, so any system running an unpatched kernel that employs the DRM subsystem should be examined.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, and the EPSS score of < 1% indicates a very low exploitation probability, so the overall risk is moderate to low. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires local kernel interaction with the DRM subsystem, meaning a user who can load modules or execute privileged code can trigger the read. While it does not enable remote code execution, the potential for arbitrary kernel memory disclosure elevates the risk for environments where kernel memory confidentiality is critical. The likely attack vector is a local privileged user or an attacker who can load a DRM driver to invoke the vulnerable logging path.

Generated by OpenCVE AI on September 4, 2026 at 06:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes commit 16a27169… from the stable tree.
  • If an update is not immediately possible, disable or restrict the DRM subsystem, or rebuild the kernel without DRM support to eliminate the vulnerable code path.
  • Restrict permission to load DRM‑related modules or to trigger DRM logging so that only trusted users can invoke the vulnerable functionality.

Generated by OpenCVE AI on September 4, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-190

Fri, 04 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}


Thu, 03 Sep 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-190

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title drm/log: Fix out-of-bounds read on empty message length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T04:58:24.919Z

Reserved: 2026-08-26T14:34:25.790Z

Link: CVE-2026-80741

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:13.317

Modified: 2026-09-04T05:17:14.470

Link: CVE-2026-80741

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T06:30:14Z

Weaknesses

No weakness.