EnvMap GitHub

CVE-2026-142802

platform/x86/amd: hfi: Fix a use-after-free when unloading the driver

Not scored yetEPSS 0.32%Received

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 before ff2c27583cf9f4e009e30ca27b0; from bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 before 02b63c0227a3694b89133e3f173; from bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 before 55d8406dfa2fa8ad8ac2f053c2a; 6.17

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.32% chance of exploitation in the next 30 days, higher than 26% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142802 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.