CVE-2025-40024 in Kernel products
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 the...
Affects 0 products from 5 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Kernel | — | — |
| Linux | — | — |
| Safe | — | — |
| Signal | — | — |
| Valid | — | — |
| Linux | Linux Firmware | 6.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40024 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258725-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-10-24 |
| Last modified | 2026-10-19 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's vhost module could lead to a use-after-free condition if a task exits early and its task_struct is accessed after being released.
An attacker could potentially exploit this vulnerability by creating a situation where a task exits prematurely, leading to a use-after-free condition when vhost_task_wake() attempts to access the freed task_struct.
Questions
What is CVE-2025-40024?
A vulnerability in the Linux kernel's vhost module could lead to a use-after-free condition if a task exits early and its task_struct is accessed after being released.
What is the CVSS score for CVE-2025-40024?
CVE-2025-40024 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-40024 actively exploited?
No confirmed active exploitation of CVE-2025-40024 as of 2026-10-25.
How do I remediate CVE-2025-40024?
Priority: MEDIUM.
What systems are affected by CVE-2025-40024?
CVE-2025-40024 affects Kernel; Linux; Safe; Signal; Valid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.