[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072818-CVE-2025-38494-63e4@gregkh>
Date: Mon, 28 Jul 2025 13:22:36 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38494: HID: core: do not bypass hid_hw_raw_request
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
HID: core: do not bypass hid_hw_raw_request
hid_hw_raw_request() is actually useful to ensure the provided buffer
and length are valid. Directly calling in the low level transport driver
function bypassed those checks and allowed invalid paramto be used.
The Linux kernel CVE team has assigned CVE-2025-38494 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.147 with commit a62a895edb2bfebffa865b5129a66e3b4287f34f
Fixed in 6.6.100 with commit 0e5017d84d650ca0eeaf4a3fe9264c5dbc886b81
Fixed in 6.12.40 with commit d18f63e848840100dbc351a82e7042eac5a28cf5
Fixed in 6.15.8 with commit 19d1314d46c0d8a5c08ab53ddeb62280c77698c0
Fixed in 6.16 with commit c2ca42f190b6714d6c481dfd3d9b62ea091c946b
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-38494
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/a62a895edb2bfebffa865b5129a66e3b4287f34f
https://git.kernel.org/stable/c/0e5017d84d650ca0eeaf4a3fe9264c5dbc886b81
https://git.kernel.org/stable/c/d18f63e848840100dbc351a82e7042eac5a28cf5
https://git.kernel.org/stable/c/19d1314d46c0d8a5c08ab53ddeb62280c77698c0
https://git.kernel.org/stable/c/c2ca42f190b6714d6c481dfd3d9b62ea091c946b
Powered by blists - more mailing lists