CVE Database›Document archive›CVE-2025-38494

CVE-2025-38494

kernel: HID: core: do not bypass hid_hw_raw_request

Loading…

Severity

Moderate

Red Hat Product Security

6.3

CVSS 3.1

Review impact separately from score.

Published · July 28, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as Moderate impact for Red Hat Enterprise Linux because exploitation requires local access with elevated privileges, restricting the attack vector and precluding remote exploitation. Under standard Red Hat configurations, interaction with raw human interface device transports is restricted to administrative users or physical device interfaces. A privileged local user exploiting this flaw could bypass kernel buffer validation checks during raw device communication, potentially causing a kernel panic or localized information exposure.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.3
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:H

CWE-805 · Buffer Access with Incorrect Length Value