CVE-2025-40172

Linux Kernel 6.5.0-6.6.113 - Denial of Service via Zero-Length DMA Transfer

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0018
EPSS Percentile 8.1%

Details

Status published
Products (15)
linux/Kernel 6.13.0 - 6.17.5linux
linux/Kernel 6.5.0 - 6.6.114linux
linux/Kernel 6.7.0 - 6.12.55linux
Linux/Linux < 6.5
Linux/Linux 6.12.55 - 6.12.*
Linux/Linux 6.17.5 - 6.17.*
Linux/Linux 6.18
Linux/Linux 6.4.12 - 6.5
Linux/Linux 6.5
Linux/Linux 6.6.114 - 6.6.*
... and 5 more
Published Nov 12, 2025
Tracked Since Feb 18, 2026