CVE-2025-40024
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40024N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoYesOct 24, 2025
CVE-2025-40021N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoYesOct 24, 2025
CVE-2025-40020N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesOct 24, 2025
CVE-2025-40019N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoNoOct 24, 2025
CVE-2025-40018N/AN/A
  • Linux KernelLinux Kernel
  • kernel-kdump
NoNoOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management