StraitOfVuln
Latest / CVE-2026-142802

CVE-2026-142802

Not yet scoredReceived
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-142802
Published / updated
03 Dec 2026, 04:18 UTC · last modified 03 Dec 2026, 04:18 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 to before ff2c27583cf9f4e009e30ca27b04f69bbc9b9674, bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 to before 02b63c0227a3694b89133e3f17342a4ed083a348, bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 to before 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux ff2c27583cf9f4e009e30ca27b04f69bbc9b9674, Linux 02b63c0227a3694b89133e3f17342a4ed083a348, Linux 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67