leds: uleds: Fix potential buffer overread (Linux Linux)

CVE-2026-72241
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7b
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < 5bb89e23729f3a59592d699a437bb001f24b8f67
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < 5ad6f6c9209e5777b896def9876708853ae26d0d
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < 8bf529571cca60fb8af65d6d034bdbbc99a9127c
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < a91ac9fdac7385cbc98aeae55b4e5302125497a2
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < 6dd51d84a9502553e58beade72823258871b8111
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < 263ccdd627caeda6e980ed3c6e32bb4fd6b380b1
affected : ≥ e381322b0190c1253d347de3f28b5c37756fb651 < c19fe864f667afc49d1391d764e20b66555bcf7a
Other versions : unaffected
Linux · Linux
affected : 4.10
unaffected : ≥ 0 < 4.10
unaffected : ≥ 5.10.261 ≤ 5.10.*
unaffected : ≥ 5.15.212 ≤ 5.15.*
unaffected : ≥ 6.1.178 ≤ 6.1.*
unaffected : ≥ 6.6.145 ≤ 6.6.*
unaffected : ≥ 6.12.97 ≤ 6.12.*
unaffected : ≥ 6.18.40 ≤ 6.18.*
unaffected : ≥ 7.1.5 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD