PT-2026-39063 · Linux · Linux Kernel
Guillaume
·
Published
2026-05-08
·
Updated
2026-05-15
·
CVE-2026-43402
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free issue exists in the kthread component. When a kthread exits via
make task dead(), it bypasses kthread exit(), causing the affinity node cleanup to be missed. Consequently, free kthread struct() frees the memory while the node remains linked in the global kthread affinity list. A subsequent list del() operation by another kthread can then write through dangling pointers into the freed and reused memory, leading to the corruption of the pid's rcu.func pointer.Recommendations
Consolidate all kthread exit paths by implementing
kthread exit() as a macro that calls do exit() and introducing kthread do exit(), which is called from do exit() for any task with PF KTHREAD set to ensure kthread-specific cleanup always occurs.Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel