OSV 1.4.0 · unreviewed · 修改于 2026-08-27 14:31
发布时间
2026-08-27 14:31
GitHub 审查时间
—
NVD 发布时间
2026-08-26 23:17
源文件
advisories/unreviewed/2026/08/GHSA-28cj-v8rj-mq63/GHSA-28cj-v8rj-mq63.json
In the Linux kernel, the following vulnerability has been resolved:
fbdev: bound mode sysfs output to the sysfs buffer
mode_string() uses snprintf() which can return a value larger than the remaining buffer space. show_modes() accumulates the return value into i without checking whether i has reached PAGE_SIZE, causing the offset to advance past the sysfs buffer if the modelist is long enough.
Add a size parameter to mode_string() and use scnprintf() to return only the bytes actually written. Add an early return when offset already exceeds the buffer. In show_modes(), stop accumulating once the buffer is full.
该公告没有提供结构化的受影响软件包信息。