CVE-2026-72241

leds: uleds: Fix potential buffer overread

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e381322b0190c1253d347de3f28b5c37756fb651 to before a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7bAffected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before 5bb89e23729f3a59592d699a437bb001f24b8f67Affected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before 5ad6f6c9209e5777b896def9876708853ae26d0dAffected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before 8bf529571cca60fb8af65d6d034bdbbc99a9127cAffected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before a91ac9fdac7385cbc98aeae55b4e5302125497a2Affected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before 6dd51d84a9502553e58beade72823258871b8111Affected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before 263ccdd627caeda6e980ed3c6e32bb4fd6b380b1Affected
  • e381322b0190c1253d347de3f28b5c37756fb651 to before c19fe864f667afc49d1391d764e20b66555bcf7aAffected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.