CVE-2025-40172: linux
Vulnerability summary
CVE-2025-40172 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 30 · Related 30Timeline
- 12-11-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.01 pp
From 0.14% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu127 products
- linux< 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.12.57-1 | < 6.17.6-1
Linux1 product
- linux≥ 96d3c1cadedb6ae2e8965e19cd12caa244afbd9c, < 48b1d42286bfef7628b1d6c8c28d4e456c90f725 | ≥ 96d3c1cadedb6ae2e8965e19cd12caa244afbd9c, < 551f1dfbcb7f3e6ed07f9d6c8c1c64337fcd0ede | ≥ 96d3c1cadedb6ae2e8965e19cd12caa244afbd9c, < 1ab9733d14cc9987cc5dcd1f0ad1f416e302e2e6 | ≥ 96d3c1cadedb6ae2e8965e19cd12caa244afbd9c, < 11f08c30a3e4157305ba692f1d44cca5fc9a8fca | d410a96e5cb8c1ec7049c83f2edcd8bbfaf5d9b3 | ≥ 6.4.12, < 6.5 | 6.5
3 vendors · 129 products