CVE-2025-40172 in Kernel products
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages() Currently, if find_and_map_user_pages() takes a DMA xfer request from the user with a length field set to 0, or in a rare case, the host receives QAIC_TRANS_DMA_XFER_CONT from ...
Affects 1 product from 3 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
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: accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages() Currently, if find_and_map_user_pages() takes a DMA xfer request from the user with a length field set to 0, or in a rare case, the host receives QAIC_TRANS_DMA_XFER_CONT from the device where resources->xferred_dma_size is equal to the requested transaction size, the function will return 0 before allocating an sgt or setting the fields of the dma_xfer struct. In that case, encode_addr_size_pairs() will try to access the sgt which will lead to a general protection fault. Return an EINVAL in case the user provides a zero-sized ALP, or the device requests continuation after all of the bytes have been transferred.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40172 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258897-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-11-12 |
| Last modified | 2026-10-19 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's accel/qaic module could potentially allow an attacker to exploit improper handling of zero-length DMA transfer requests, leading to undefined behavior or system instability.
An attacker could craft a DMA transfer request with a length field set to zero, which might not be properly handled by the find_and_map_user_pages() function. This could lead to unexpected behavior or resource mismanagement.
Questions
What is CVE-2025-40172?
A vulnerability in the Linux kernel's accel/qaic module could potentially allow an attacker to exploit improper handling of zero-length DMA transfer requests, leading to undefined behavior or system instability.
What is the CVSS score for CVE-2025-40172?
CVE-2025-40172 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-40172 actively exploited?
No confirmed active exploitation of CVE-2025-40172 as of 2026-10-25.
How do I remediate CVE-2025-40172?
Priority: MEDIUM.
What systems are affected by CVE-2025-40172?
CVE-2025-40172 affects Kernel; Linux Linux; Takes.
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.