# CVE-2025-38495: HID: core: ensure the allocated report buffer can contain the reserved report ID

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **Published:** 2025-07-28T11:22:04.169Z
- **Modified:** 2026-08-05T12:02:24.110Z

## Who should check

- Anyone running Linux \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7228e36c7875e4b035374cf68ca5e44dffa596b2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 9f2892f7233a8f1320fe671d0f95f122191bfbcd; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7fa83d0043370003e9a0b46ab7ae8f53b00fab06; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< d3ed1d84a84538a39b3eb2055d6a97a936c108f2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< fcda39a9c5b834346088c14b1374336b079466c1; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a262370f385e53ff7470efdcdaf40468e5756717; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a47d9d9895bad9ce0e840a39836f19ca0b2a343a; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 4f15ee98304b96e164ff2340e1dfd6181c3f42aa
- Anyone running Linux 3.15

## 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.

## Affected and fixed versions

- Linux: \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7228e36c7875e4b035374cf68ca5e44dffa596b2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 9f2892f7233a8f1320fe671d0f95f122191bfbcd; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7fa83d0043370003e9a0b46ab7ae8f53b00fab06; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< d3ed1d84a84538a39b3eb2055d6a97a936c108f2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< fcda39a9c5b834346088c14b1374336b079466c1; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a262370f385e53ff7470efdcdaf40468e5756717; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a47d9d9895bad9ce0e840a39836f19ca0b2a343a; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 4f15ee98304b96e164ff2340e1dfd6181c3f42aa (cvelist)
- Linux: 3.15 (cvelist)

## Mitigation

- Upgrade Linux to 4f15ee98304b96e164ff2340e1dfd6181c3f42aa or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38495. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38495.md
Affected: Linux >= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, < 7228e36c7875e4b035374cf68ca5e44dffa596b2; >= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, < 9f2892f7233a8f1320fe671d0f95f122191bfbcd; >= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, < 7fa83d0043370003e9a0b46ab7ae8f53b00fab06; >= 4fa5a7f76cc7b6ac87f5774…
Fixed in: Linux 7228e36c7875e4b035374cf68ca5e44dffa596b2, Linux 9f2892f7233a8f1320fe671d0f95f122191bfbcd, Linux 7fa83d0043370003e9a0b46ab7ae8f53b00fab06, Linux 4f15ee98304b96e164ff2340e1dfd6181c3f42aa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38495 being exploited?

There is no confirmed exploitation: CVE-2025-38495 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38495?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38495?

Linux \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7228e36c7875e4b035374cf68ca5e44dffa596b2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 9f2892f7233a8f1320fe671d0f95f122191bfbcd; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 7fa83d0043370003e9a0b46ab7ae8f53b00fab06; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< d3ed1d84a84538a39b3eb2055d6a97a936c108f2; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< fcda39a9c5b834346088c14b1374336b079466c1; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a262370f385e53ff7470efdcdaf40468e5756717; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< a47d9d9895bad9ce0e840a39836f19ca0b2a343a; \>= 4fa5a7f76cc7b6ac87f57741edd2b124851d119f, \< 4f15ee98304b96e164ff2340e1dfd6181c3f42aa; Linux 3.15.

### Is there a fix for CVE-2025-38495?

Yes. Fixed in Linux 7228e36c7875e4b035374cf68ca5e44dffa596b2, Linux 9f2892f7233a8f1320fe671d0f95f122191bfbcd, Linux 7fa83d0043370003e9a0b46ab7ae8f53b00fab06, Linux 4f15ee98304b96e164ff2340e1dfd6181c3f42aa. Upgrade Linux to 4f15ee98304b96e164ff2340e1dfd6181c3f42aa or later.

### How do I check if I'm affected by CVE-2025-38495?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7228e36c7875e4b035374cf68ca5e44dffa596b2>
- patch: <https://git.kernel.org/stable/c/9f2892f7233a8f1320fe671d0f95f122191bfbcd>
- patch: <https://git.kernel.org/stable/c/7fa83d0043370003e9a0b46ab7ae8f53b00fab06>
- patch: <https://git.kernel.org/stable/c/d3ed1d84a84538a39b3eb2055d6a97a936c108f2>
- patch: <https://git.kernel.org/stable/c/fcda39a9c5b834346088c14b1374336b079466c1>
- patch: <https://git.kernel.org/stable/c/a262370f385e53ff7470efdcdaf40468e5756717>
- patch: <https://git.kernel.org/stable/c/a47d9d9895bad9ce0e840a39836f19ca0b2a343a>
- patch: <https://git.kernel.org/stable/c/4f15ee98304b96e164ff2340e1dfd6181c3f42aa>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38495>

HTML: <https://flawdb.com/CVE-2025-38495> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38495>
