
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40024 is a recently discovered vulnerability in the Linux kernel's vhost subsystem, identified and disclosed on October 24, 2025. The vulnerability specifically affects the task reference handling in the vhost subsystem's task management functionality (NVD, Debian Tracker).
The vulnerability stems from improper reference counting in the vhost task management system. When vhosttaskcreate() creates a task, it maintains a reference to its taskstruct, but if the task exits early due to a signal, the taskstruct gets released while a pending vhosttaskwake() may still attempt to access it. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 with attack vector Local (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (Red Hat).
The vulnerability can lead to a potential system crash or memory corruption when a vhost task exits early due to a signal while there are pending wake operations. This primarily affects systems utilizing the vhost subsystem in the Linux kernel (Red Hat).
The vulnerability has been patched by implementing proper reference counting. The fix involves acquiring a reference on the taskstruct while creating the thread and releasing the reference when the struct vhosttask itself is removed. Various Linux distributions have released or are in the process of releasing patches, with some versions already marked as fixed in the Debian tracker (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."