CVE-2025-21928
HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()
Mitigation
- Upgrade Linux to 07583a0010696a17fb0942e0b499a62785c5fc9f or later.
Who should check
- Anyone running Linux >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < d3faae7f42181865c799d88c5054176f38ae4625; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 01b18a330cda61cc21423a7d1af92cf31ded8f60; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 560f4d1299342504a6ab8a47f575b5e6b8345ada; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < dea6a349bcaf243fff95dfd0428a26be6a0fb44e; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 07583a0010696a17fb0942e0b499a62785c5fc9f
- Anyone running Linux 4.9
Vulnerability facts
- Affected
- Linux >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < d3faae7f42181865c799d88c5054176f38ae4625; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 01b18a330cda61cc21423a7d1af92cf31ded8f60; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 560f4d1299342504a6ab8a47f575b5e6b8345ada; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < dea6a349bcaf243fff95dfd0428a26be6a0fb44e; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 07583a0010696a17fb0942e0b499a62785c5fc9f; Linux 4.9
- Fixed in
- Linux 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d, Linux 01b18a330cda61cc21423a7d1af92cf31ded8f60, Linux 560f4d1299342504a6ab8a47f575b5e6b8345ada, Linux 07583a0010696a17fb0942e0b499a62785c5fc9f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove() The system can experience a random crash a few minutes after the driver is removed. This issue occurs due to improper handling of memory freeing in the ishtp_hid_remove() function. The function currently frees the `driver_data` directly within the loop that destroys the HID devices, which can lead to accessing freed memory. Specifically, `hid_destroy_device()` uses `driver_data` when it calls `hid_ishtp_set_feature()` to power off the sensor, so freeing `driver_data` beforehand can result in accessing invalid memory. This patch resolves the issue by storing the `driver_data` in a temporary variable before calling `hid_destroy_device()`, and then freeing the `driver_data` after the device is destroyed.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < d3faae7f42181865c799d88c5054176f38ae4625; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 01b18a330cda61cc21423a7d1af92cf31ded8f60; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 560f4d1299342504a6ab8a47f575b5e6b8345ada; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < dea6a349bcaf243fff95dfd0428a26be6a0fb44e; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 07583a0010696a17fb0942e0b499a62785c5fc9f | — | cvelist |
| Linux | 4.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21928. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21928.md Affected: Linux >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < d3faae7f42181865c799d88c5054176f38ae4625; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 01b18a330cda61cc21423a7d1af92cf31ded8f60; >= 0b28cb4bcb17dcb5fe0763f… Fixed in: Linux 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d, Linux 01b18a330cda61cc21423a7d1af92cf31ded8f60, Linux 560f4d1299342504a6ab8a47f575b5e6b8345ada, Linux 07583a0010696a17fb0942e0b499a62785c5fc9f 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.
References
Patches
- https://git.kernel.org/stable/c/0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d
- https://git.kernel.org/stable/c/d3faae7f42181865c799d88c5054176f38ae4625
- https://git.kernel.org/stable/c/01b18a330cda61cc21423a7d1af92cf31ded8f60
- https://git.kernel.org/stable/c/cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394
- https://git.kernel.org/stable/c/560f4d1299342504a6ab8a47f575b5e6b8345ada
- https://git.kernel.org/stable/c/dea6a349bcaf243fff95dfd0428a26be6a0fb44e
- https://git.kernel.org/stable/c/eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9
- https://git.kernel.org/stable/c/07583a0010696a17fb0942e0b499a62785c5fc9f
FAQ
Is CVE-2025-21928 being exploited?
There is no confirmed exploitation: CVE-2025-21928 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21928?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21928?
Linux >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < d3faae7f42181865c799d88c5054176f38ae4625; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 01b18a330cda61cc21423a7d1af92cf31ded8f60; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < cf1a6015d2f6b1f0afaa0fd6a0124ff2c7943394; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 560f4d1299342504a6ab8a47f575b5e6b8345ada; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < dea6a349bcaf243fff95dfd0428a26be6a0fb44e; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < eb0695d87a81e7c1f0509b7d8ee7c65fbc26aec9; >= 0b28cb4bcb17dcb5fe0763fc3e1a94398b8f6cf6, < 07583a0010696a17fb0942e0b499a62785c5fc9f; Linux 4.9.
Is there a fix for CVE-2025-21928?
Yes. Fixed in Linux 0c1fb475ef999d6c22fc3f963fdf20cb3ed1b03d, Linux 01b18a330cda61cc21423a7d1af92cf31ded8f60, Linux 560f4d1299342504a6ab8a47f575b5e6b8345ada, Linux 07583a0010696a17fb0942e0b499a62785c5fc9f. Upgrade Linux to 07583a0010696a17fb0942e0b499a62785c5fc9f or later.
How do I check if I'm affected by CVE-2025-21928?
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.