CVE-2026-142802
Last modified
CVE-2026-142802 is a vulnerability of currently unknown severity. 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
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < ff2c27583cf9f4e009e30ca27b04f69bbc9b9674; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 02b63c0227a3694b89133e3f17342a4ed083a348; >= bb20421c05fc0a0fd70a3f8af076319f7dec4cf1, < 55d8406dfa2fa8ad8ac2f053c2a53a97d8b0ce48 |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142802?
How severe is CVE-2026-142802?
How do I fix CVE-2026-142802?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142798In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142799In the Linux kernel, the following vulnerability has been re…
- CVE-2026-1428Single Sign-On Portal System developed by WellChoose has a O…8.8
- CVE-2026-14280The Events Manager – Calendar, Bookings, Tickets, and more! …6.6
- CVE-2026-142800In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142801In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-142803In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142804In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142805In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142806In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142807In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142808In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142802?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
