leds: uleds: Fix potential buffer overread
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c19fe864f667afc49d1391d764e20b66555bcf7a, Kernel 263ccdd627caeda6e980ed3c6e32bb4fd6b380b1, Kernel 5ad6f6c9209e5777b896def9876708853ae26d0d and 12 more.
In the Linux kernel, the following vulnerability has been resolved: leds: uleds: Fix potential buffer overread The name string supplied by userspace is not guaranteed to be null-terminated, so using strchr() on it might result in a buffer overread. The same thing will happen when said string is used by the LED class device. Fix this by using strnchr() instead and explicitly check that the name string is properly null-terminated.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e381322b0190c1253d347de3f28b5c37756fb651 <c19fe864f667afc49d1391d764e20b66555bcf7a, >=e381322b0190c1253d347de3f28b5c37756fb651 <263ccdd627caeda6e980ed3c6e32bb4fd6b380b1, >=e381322b0190c1253d347de3f28b5c37756fb651 <5ad6f6c9209e5777b896def9876708853ae26d0d, >=e381322b0190c1253d347de3f28b5c37756fb651 <5bb89e23729f3a59592d699a437bb001f24b8f67, >=e381322b0190c1253d347de3f28b5c37756fb651 <6dd51d84a9502553e58beade72823258871b8111, >=e381322b0190c1253d347de3f28b5c37756fb651 <8bf529571cca60fb8af65d6d034bdbbc99a9127c, >=e381322b0190c1253d347de3f28b5c37756fb651 <a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7b, >=e381322b0190c1253d347de3f28b5c37756fb651 <a91ac9fdac7385cbc98aeae55b4e5302125497a2, =4.10 | c19fe864f667afc49d1391d764e20b66555bcf7a, 263ccdd627caeda6e980ed3c6e32bb4fd6b380b1, 5ad6f6c9209e5777b896def9876708853ae26d0d, 5bb89e23729f3a59592d699a437bb001f24b8f67, 6dd51d84a9502553e58beade72823258871b8111, 8bf529571cca60fb8af65d6d034bdbbc99a9127c, a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7b, a91ac9fdac7385cbc98aeae55b4e5302125497a2 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.10.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket