# CVE-2025-21929: HID: intel-ish-hid: Fix use-after-free issue in hid\_ishtp\_cl\_remove()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-04-01T15:40:59.761Z
- **Modified:** 2026-06-17T08:44:38.247Z

## Who should check

- Anyone running Linux \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 9c677fe859a73f5dd3dd84c27f99e10d28047c73; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< e040f11fbca868c6d151e9f2c5730c476abfcf17; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 823987841424289339fdb4ba90e6d2c3792836db
- Anyone running Linux 6.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: intel-ish-hid: Fix use-after-free issue in hid\_ishtp\_cl\_remove()

During the \`rmmod\` operation for the \`intel\_ishtp\_hid\` driver, a
use-after-free issue can occur in the hid\_ishtp\_cl\_remove() function.
The function hid\_ishtp\_cl\_deinit() is called before ishtp\_hid\_remove(),
which can lead to accessing freed memory or resources during the
removal process.

Call Trace:
 ? ishtp\_cl\_send+0x168/0x220 \[intel\_ishtp\]
 ? hid\_output\_report+0xe3/0x150 \[hid\]
 hid\_ishtp\_set\_feature+0xb5/0x120 \[intel\_ishtp\_hid\]
 ishtp\_hid\_request+0x7b/0xb0 \[intel\_ishtp\_hid\]
 hid\_hw\_request+0x1f/0x40 \[hid\]
 sensor\_hub\_set\_feature+0x11f/0x190 \[hid\_sensor\_hub\]
 \_hid\_sensor\_power\_state+0x147/0x1e0 \[hid\_sensor\_trigger\]
 hid\_sensor\_runtime\_resume+0x22/0x30 \[hid\_sensor\_trigger\]
 sensor\_hub\_remove+0xa8/0xe0 \[hid\_sensor\_hub\]
 hid\_device\_remove+0x49/0xb0 \[hid\]
 hid\_destroy\_device+0x6f/0x90 \[hid\]
 ishtp\_hid\_remove+0x42/0x70 \[intel\_ishtp\_hid\]
 hid\_ishtp\_cl\_remove+0x6b/0xb0 \[intel\_ishtp\_hid\]
 ishtp\_cl\_device\_remove+0x4a/0x60 \[intel\_ishtp\]
 ...

Additionally, ishtp\_hid\_remove() is a HID level power off, which should
occur before the ISHTP level disconnect.

This patch resolves the issue by reordering the calls in
hid\_ishtp\_cl\_remove(). The function ishtp\_hid\_remove() is now
called before hid\_ishtp\_cl\_deinit().

## Affected and fixed versions

- Linux: \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 9c677fe859a73f5dd3dd84c27f99e10d28047c73; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< e040f11fbca868c6d151e9f2c5730c476abfcf17; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 823987841424289339fdb4ba90e6d2c3792836db (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 823987841424289339fdb4ba90e6d2c3792836db 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-21929. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21929.md
Affected: Linux >= f645a90e8ff732c48dd9f18815baef08c44ac8a0, < 9c677fe859a73f5dd3dd84c27f99e10d28047c73; >= f645a90e8ff732c48dd9f18815baef08c44ac8a0, < e040f11fbca868c6d151e9f2c5730c476abfcf17; >= f645a90e8ff732c48dd9f18815baef08c44ac8a0, < 823987841424289339fdb4ba90e6d2c3792836db; Linux 6.8
Fixed in: Linux 9c677fe859a73f5dd3dd84c27f99e10d28047c73, Linux 823987841424289339fdb4ba90e6d2c3792836db

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-21929 being exploited?

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

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

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

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

Linux \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 9c677fe859a73f5dd3dd84c27f99e10d28047c73; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< e040f11fbca868c6d151e9f2c5730c476abfcf17; \>= f645a90e8ff732c48dd9f18815baef08c44ac8a0, \< 823987841424289339fdb4ba90e6d2c3792836db; Linux 6.8.

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

Yes. Fixed in Linux 9c677fe859a73f5dd3dd84c27f99e10d28047c73, Linux 823987841424289339fdb4ba90e6d2c3792836db. Upgrade Linux to 823987841424289339fdb4ba90e6d2c3792836db or later.

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

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/9c677fe859a73f5dd3dd84c27f99e10d28047c73>
- patch: <https://git.kernel.org/stable/c/e040f11fbca868c6d151e9f2c5730c476abfcf17>
- patch: <https://git.kernel.org/stable/c/823987841424289339fdb4ba90e6d2c3792836db>

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

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