Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-142802 — Linux

Not yet scored First seen December 03, 2026

One of 171 Linux vulnerabilities published together by NVD: our article covers all of them.

LinuxOperating systemsVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Affected and fixed versions

ProductAffected versionsFixed in
Linux6.17 and later6.18.61, 7.3.2, 7.4-rc1

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Details from NVD (public domain).

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.

Timeline & sources

References

Related vulnerabilities & news