drm/log: Fix out-of-bounds read on empty message length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee, Kernel 16bcea56f4205314ec2aa04a7ec74e5261d253c7, Kernel 60baa179ed1333535f6e2da4133511db55278ee4 and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=25e2c2a3eff55683bbe77b108db2a7e389246666 <16a2716910ecf7d31bf3c033ee7c506a0b00b2ee, >=25e2c2a3eff55683bbe77b108db2a7e389246666 <16bcea56f4205314ec2aa04a7ec74e5261d253c7, >=25e2c2a3eff55683bbe77b108db2a7e389246666 <60baa179ed1333535f6e2da4133511db55278ee4 | 16a2716910ecf7d31bf3c033ee7c506a0b00b2ee, 16bcea56f4205314ec2aa04a7ec74e5261d253c7, 60baa179ed1333535f6e2da4133511db55278ee4 |
| linux-kernel: Kernel | >=6.14.0 <6.18.46, >=6.19.0 <7.1.10 | 6.18.46, 7.1.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket