CVE-2026-142802: Linux kernel · platform/x86/amd: hfi: Fix a use-after-free when unloading the driver
Source GCVE Database
Not known to be exploited · fixed in ff2c27583cf9f4e009e30ca27b04f69bbc9b9674 : patch Linux kernel soon.
Data as of 3 Dec 2026, 08:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in ff2c27583cf9f4e009e30ca27b04f69bbc9b9674, 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48, 02b63c0227a3694b89133e3f17342a4ed083a348
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade Linux kernel to ff2c27583cf9f4e009e30ca27b04f69bbc9b9674, 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 or 02b63c0227a3694b89133e3f17342a4ed083a348.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142802 (opens in a new tab)
- git.kernel.org/stable/c/02b63c0227a3694b89133e3f17342a4ed083a348 (opens in a new tab)
- git.kernel.org/stable/c/55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 (opens in a new tab)
- git.kernel.org/stable/c/ff2c27583cf9f4e009e30ca27b04f69bbc9b9674 (opens in a new tab)