All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-72241: leds: uleds: Fix potential buffer overread
@ 2026-08-15  6:05 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-08-15  6:05 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.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.

The Linux kernel CVE team has assigned CVE-2026-72241 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 5.10.261 with commit a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7b
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 5.15.212 with commit 5bb89e23729f3a59592d699a437bb001f24b8f67
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 6.1.178 with commit 5ad6f6c9209e5777b896def9876708853ae26d0d
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 6.6.145 with commit 8bf529571cca60fb8af65d6d034bdbbc99a9127c
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 6.12.97 with commit a91ac9fdac7385cbc98aeae55b4e5302125497a2
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 6.18.40 with commit 6dd51d84a9502553e58beade72823258871b8111
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 7.1.5 with commit 263ccdd627caeda6e980ed3c6e32bb4fd6b380b1
	Issue introduced in 4.10 with commit e381322b0190c1253d347de3f28b5c37756fb651 and fixed in 7.2-rc1 with commit c19fe864f667afc49d1391d764e20b66555bcf7a

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-72241
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/leds/uleds.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/a84c59121dfdc7b324f72dc5012aa8fe5e7d2d7b
	https://git.kernel.org/stable/c/5bb89e23729f3a59592d699a437bb001f24b8f67
	https://git.kernel.org/stable/c/5ad6f6c9209e5777b896def9876708853ae26d0d
	https://git.kernel.org/stable/c/8bf529571cca60fb8af65d6d034bdbbc99a9127c
	https://git.kernel.org/stable/c/a91ac9fdac7385cbc98aeae55b4e5302125497a2
	https://git.kernel.org/stable/c/6dd51d84a9502553e58beade72823258871b8111
	https://git.kernel.org/stable/c/263ccdd627caeda6e980ed3c6e32bb4fd6b380b1
	https://git.kernel.org/stable/c/c19fe864f667afc49d1391d764e20b66555bcf7a

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-15  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15  6:05 CVE-2026-72241: leds: uleds: Fix potential buffer overread Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.