CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of user-supplied name strings in the LED class device, which may lead to a buffer overread due to the lack of guaranteed null termination. This flaw could potentially allow an attacker to exploit the system by causing unintended memory access, leading to information disclosure or system instability. Linux system administrators and developers working with the kernel should prioritize addressing this issue to mitigate the risk of exploitation.
Original NVD Description
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.