CVE-2026-142802
platform/x86/amd: hfi: Fix a use-after-free when unloading the driver
Mitigation
- Upgrade Linux to 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 or later.
Who should check
- Anyone running Linux >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48
- Anyone running Linux 6.17
Vulnerability facts
- Affected
- Linux >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48; Linux 6.17
- Fixed in
- Linux 02b63c0227a3694b89133e3f17342a4ed083a348, Linux 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: hfi: Fix a use-after-free when unloading the driver amd_hfi_probe() registers CPU hotplug callbacks with cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, ...) and schedules the static sched_amd_hfi_itmt_work work item, but amd_hfi_remove() tears down neither. The dynamically assigned hotplug state returned by cpuhp_setup_state() is discarded, so cpuhp_remove_state() can never be called, and the pending work is never cancelled. After the module is unloaded and its memory is freed, any subsequent CPU hotplug event or execution of the scheduled work dereferences the stale callback and work function pointers, resulting in a use-after-free and kernel panic. Store the hotplug state returned by cpuhp_setup_state() and, on removal, call cpuhp_remove_state() to unregister the callbacks and cancel_work_sync() to flush the scheduled work before the module memory goes away.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 | — | cvelist |
| Linux | 6.17 | — | 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-2026-142802. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142802.md Affected: Linux >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48; Linux 6.17 Fixed in: Linux 02b63c0227a3694b89133e3f17342a4ed083a348, Linux 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 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.
Technologies
References
FAQ
Is CVE-2026-142802 being exploited?
There is no confirmed exploitation: CVE-2026-142802 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142802?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-142802?
Linux >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48; Linux 6.17.
Is there a fix for CVE-2026-142802?
Yes. Fixed in Linux 02b63c0227a3694b89133e3f17342a4ed083a348, Linux 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48. Upgrade Linux to 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 or later.
How do I check if I'm affected by CVE-2026-142802?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |