Bug 2383905 (CVE-2025-38494)

Summary: CVE-2025-38494 kernel: HID: core: do not bypass hid_hw_raw_request
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's Human Interface Device (HID) subsystem. This vulnerability allows a privileged local user to cause a Denial of Service (DoS) through a system crash or potentially access localized sensitive information. The issue occurs when low-level transport driver routines are directly invoked, bypassing kernel buffer and length validation checks for raw device requests.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-07-28 12:02:21 UTC
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.

Comment 1 Avinash Hanwate 2025-07-28 15:34:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025072818-CVE-2025-38494-63e4@gregkh/T