Skip to main content
VulnerabilityPublished Updated

CVE-2025-40024: Linux kernel · vhost: Take a reference on the task in struct vhost_task.

Affects Linux kernelSource GCVE Database

0

Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1052.55~22.04.1 : patch Linux kernel soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.8.0-1052.55~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1050.53~22.04.1 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
linux-hwe-edgeAffected
  • <6.8.0-1050.53~22.04.1
  • <6.8.0-1051.57~22.04.1
  • <6.8.0-1052.55~22.04.1
  • <6.8.0-106.106~22.04.1
  • <6.8.0-1049.49~22.04.1
Fixed in
  • 6.8.0-1050.53~22.04.1
  • 6.8.0-1051.57~22.04.1
  • 6.8.0-1052.55~22.04.1
  • 6.8.0-106.106~22.04.1
  • 6.8.0-1049.49~22.04.1

AI-suggested

A fix has been implemented in the Linux kernel to address this vulnerability by properly managing references to task_struct in vhost_task. Users should update to the fixed kernel versions once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor advisories for the specific patch availability and apply updates accordingly.

Description

In the Linux kernel, the following vulnerability has been resolved: vhost: Take a reference on the task in struct vhost_task. vhost_task_create() creates a task and keeps a reference to its task_struct. That task may exit early via a signal and its task_struct will be released. A pending vhost_task_wake() will then attempt to wake the task and access a task_struct which is no longer there. Acquire a reference on the task_struct while creating the thread and release the reference while the struct vhost_task itself is removed. If the task exits early due to a signal, then the vhost_task_wake() will still access a valid task_struct. The wake is safe and will be skipped in this case.

References

Community reviews

Loading reviews…