一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-80741 – In the Linux kernel, the following vulnerability has been resolved: drm/log: Fix out-of-b

未分类
📑 文章目录

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.