{"id":"CVE-2026-80741","summary":"drm/log: Fix out-of-bounds read on empty message length","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/log: Fix out-of-bounds read on empty message length\n\ndrm_log_draw_kmsg_record() accesses s[len - 1] to strip the trailing\nnewline, but len is unsigned int. If len is 0, the subtraction wraps\nto UINT_MAX, causing an out-of-bounds read.\n\nAdd an early return when len is 0.","modified":"2026-09-05T03:48:19.466159044Z","published":"2026-09-03T08:26:25.322Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80741.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/16a2716910ecf7d31bf3c033ee7c506a0b00b2ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16bcea56f4205314ec2aa04a7ec74e5261d253c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60baa179ed1333535f6e2da4133511db55278ee4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80741.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80741"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"25e2c2a3eff55683bbe77b108db2a7e389246666"},{"fixed":"16a2716910ecf7d31bf3c033ee7c506a0b00b2ee"},{"fixed":"16bcea56f4205314ec2aa04a7ec74e5261d253c7"},{"fixed":"60baa179ed1333535f6e2da4133511db55278ee4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80741.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80741.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}