CVE-2026-142802 — Linux
One of 171 Linux vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
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
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | 6.17 and later | 6.18.61, 7.3.2, 7.4-rc1 |
References by type
Patches and fixed releases
Affected
- Linux
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142802?
In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: hfi: Fix a use-after-free when unloading the driver amdhfiprobe() registers CPU hotplug callbacks with cpuhpsetupstate(CPUHPAPONLINEDYN, ...) and schedules the static schedamdhfiitmtwork work item, but amdhfiremove() tears down neither.
How severe is CVE-2026-142802?
CVE-2026-142802 has not been given a CVSS score yet.
Is CVE-2026-142802 being exploited?
Not as far as is known: CVE-2026-142802 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-142802?
Linux 6.17 and later (fixed in 6.18.61, 7.3.2, 7.4-rc1).
How do I fix CVE-2026-142802?
Update to a fixed release: Linux 6.18.61, 7.3.2, 7.4-rc1.