All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2025-38495: HID: core: ensure the allocated report buffer can contain the reserved report ID
@ 2025-07-28 11:22 Greg Kroah-Hartman
  2025-09-30 10:42 ` Siddh Raman Pant
  0 siblings, 1 reply; 9+ messages in thread
From: Greg Kroah-Hartman @ 2025-07-28 11:22 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:

HID: core: ensure the allocated report buffer can contain the reserved report ID

When the report ID is not used, the low level transport drivers expect
the first byte to be 0. However, currently the allocated buffer not
account for that extra byte, meaning that instead of having 8 guaranteed
bytes for implement to be working, we only have 7.

The Linux kernel CVE team has assigned CVE-2025-38495 to this issue.


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

	Fixed in 6.1.147 with commit d3ed1d84a84538a39b3eb2055d6a97a936c108f2
	Fixed in 6.6.100 with commit fcda39a9c5b834346088c14b1374336b079466c1
	Fixed in 6.12.40 with commit a262370f385e53ff7470efdcdaf40468e5756717
	Fixed in 6.15.8 with commit a47d9d9895bad9ce0e840a39836f19ca0b2a343a
	Fixed in 6.16 with commit 4f15ee98304b96e164ff2340e1dfd6181c3f42aa

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-2025-38495
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/hid/hid-core.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/d3ed1d84a84538a39b3eb2055d6a97a936c108f2
	https://git.kernel.org/stable/c/fcda39a9c5b834346088c14b1374336b079466c1
	https://git.kernel.org/stable/c/a262370f385e53ff7470efdcdaf40468e5756717
	https://git.kernel.org/stable/c/a47d9d9895bad9ce0e840a39836f19ca0b2a343a
	https://git.kernel.org/stable/c/4f15ee98304b96e164ff2340e1dfd6181c3f42aa

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-30 11:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 11:22 CVE-2025-38495: HID: core: ensure the allocated report buffer can contain the reserved report ID Greg Kroah-Hartman
2025-09-30 10:42 ` Siddh Raman Pant
2025-09-30 10:49   ` gregkh
2025-09-30 10:54     ` Siddh Raman Pant
2025-09-30 10:59       ` gregkh
2025-09-30 11:09         ` Siddh Raman Pant
2025-09-30 11:22           ` gregkh
2025-09-30 11:32             ` Siddh Raman Pant
2025-09-30 11:41               ` gregkh

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.