Skip to main content

Linux Kernel CVE-2025-40172

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to qaic device
  2. Delivery
    Submit DMA xfer with length 0
  3. Exploit
    find_and_map_user_pages returns 0, sgt unallocated
  4. Execution
    encode_addr_size_pairs dereferences uninitialized sgt
  5. Impact
    General protection fault / kernel crash (DoS)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to a system running the Linux accel/qaic driver, which is only loaded on hosts fitted with Qualcomm Cloud AI 100 accelerator hardware, plus the ability to submit a DMA transfer request to that device (PR:L - some access to the qaic interface is needed, not full root). The concrete trigger is a DMA xfer request whose length field is 0, or the rarer path where the host receives QAIC_TRANS_DMA_XFER_CONT from the device while resources->xferred_dma_size already equals the requested transaction size. Limiting factors: the flaw is local-only (AV:L) with no network exposure, needs at least low-privilege access to the accelerator device, and is entirely inert on the overwhelming majority of Linux systems that lack Qualcomm Cloud AI 100 hardware and therefore never load the qaic driver.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) frames this as a high-severity local flaw requiring low privileges and no user interaction, which is consistent with the description: an attacker needs local access to the qaic device interface to submit a crafted DMA request. However, the underlying behavior described is a general protection fault triggered by dereferencing an unallocated sgt - this reads primarily as a kernel crash/denial-of-service (availability) rather than confirmed confidentiality/integrity compromise, so the C:H/I:H claim in the scored vector appears optimistic relative to the described impact; the input's 'Information Disclosure' tag likewise is not clearly supported by the description of a fault. EPSS is 0.03% (10th percentile) and the CVE is not on CISA KEV, so real-world exploitation pressure is low and the practical footprint is limited to systems that actually have Qualcomm Cloud AI 100 hardware and the qaic driver loaded. Net: a legitimate local DoS worth patching on affected AI-accelerator hosts, but not a broad, urgent, remotely-exploitable priority. No SSVC decision data was supplied.

Exploit ScenarioDerived

A local user with access to the qaic device on a host equipped with a Qualcomm Cloud AI 100 accelerator submits a DMA transfer request with the length field set to 0 (or otherwise induces a continuation request after the full transfer size has been reached). find_and_map_user_pages() returns early without allocating the sgt, encode_addr_size_pairs() dereferences the uninitialized sgt, and the kernel takes a general protection fault, crashing the system. No public exploit code has been identified at time of analysis; low complexity means a simple crafted ioctl/request is sufficient.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 30, 2026

Memory corruption in the Linux kernel's accel/qaic driver (Qualcomm Cloud AI 100 accelerator) allows a local user to trigger a general protection fault by submitting a DMA transfer request with a zero length, or when the device requests continuation (QAIC_TRANS_DMA_XFER_CONT) after all bytes have already been transferred. In these cases find_and_map_user_pages() returns 0 without allocating the scatter-gather table, and encode_addr_size_pairs() then dereferences the unallocated sgt, faulting the kernel. EPSS is very low (0.03%) and there is no public exploit identified at time of analysis, but distro patches (Ubuntu USN-8125-1/8126-1) are already shipping.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:41 cvss changed CVSS 7.8

Local privilege-level denial of service in the Linux kernel's accel/qaic driver (Qualcomm Cloud AI 100 accelerator) allows a user with access to the accelerator device to trigger a kernel general protection fault. When find_and_map_user_pages() receives a DMA transfer request with a zero-length field, or the device signals QAIC_TRANS_DMA_XFER_CONT after all bytes are already transferred, the function returns early without allocating the scatter-gather table, and the subsequent encode_addr_size_pairs() dereferences the missing sgt. The fix has been merged upstream and shipped by Ubuntu; there is no public exploit identified at time of analysis and EPSS is negligible (0.03%).

v1 Mar 28, 2026 - 19:21

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.

RemediationAI

Patch available per vendor advisory: apply the upstream kernel fix that returns -EINVAL when the ALP is zero-sized or when the device requests continuation after all bytes have transferred, delivered via the stable commits (git.kernel.org/stable/c/11f08c30a3e4, /1ab9733d14cc, /48b1d42286bf, /551f1dfbcb7f). On Ubuntu, upgrade the kernel to the fixed package versions listed in USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and reboot; other distributions should pull the corresponding backport. If immediate patching is not possible, the effective compensating control is to restrict access to the qaic accelerator device nodes to trusted operators only (tighten permissions/ownership on the device interface, or unload/blacklist the qaic module on hosts that do not require the Cloud AI 100 accelerator) - the trade-off is that blacklisting the module disables use of the AI accelerator entirely, and tightening device permissions may break unprivileged workloads that legitimately submit inference jobs.

Affected ProductsAI

The vulnerability is in the mainline Linux kernel's accel/qaic driver and is fixed across multiple stable branches, as indicated by the four kernel.org stable commit references (11f08c30a3e4, 1ab9733d14cc, 48b1d42286bf, 551f1dfbcb7f). No explicit affected version range or CPE string was provided in the input, so exact vulnerable kernel versions must be confirmed from each stable branch and from distribution advisories. Ubuntu is confirmed affected via USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1). Only systems that load the qaic driver - i.e., hosts equipped with Qualcomm Cloud AI 100 accelerators - are practically exposed.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the accel/qaic driver, the in-kernel driver for Qualcomm's Cloud AI 100 (QAIC) inference accelerator. The driver maps user-supplied buffers for DMA transfers to the device; find_and_map_user_pages() is responsible for pinning user pages and building a scatter-gather table (sgt) describing them, which encode_addr_size_pairs() later walks to emit address/size descriptor pairs for the hardware. The root cause is a missing input-validation / edge-case check: when the requested transfer length is 0, or when resources->xferred_dma_size already equals the requested size on a QAIC_TRANS_DMA_XFER_CONT continuation, the function short-circuits and returns 0 before allocating the sgt or populating the dma_xfer struct. The consumer does not distinguish this early return from a successful mapping and dereferences the never-initialized sgt pointer, producing a general protection fault (an unchecked-return / use-of-uninitialized-resource class defect; NVD lists CWE as N/A).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.5 MEDIUM

Local access to the qaic device needed (AV:L, PR:L, AC:L); described impact is an uninitialized-sgt dereference causing a general protection fault, i.e. kernel DoS (A:H) with no clear confidentiality/integrity impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 08:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:41 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:30 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in the Linux kernel's Qualcomm Cloud AI 100 accelerator driver (QAIC) allows local attackers to crash systems and potentially escalate privileges on infrastructure using this specialized hardware. This impacts cloud providers and data centers running AI workloads on QAIC-equipped servers. Vendor-released patches are available and already shipping through Ubuntu security updates (USN-8125-1/8126-1).

Business Impact: Medium
Compensating Controls

Vendor-released patch: Ubuntu kernel updates USN-8125-1 (20.04) or USN-8126-1 (22.04). Until patched, restrict local system access to QAIC-enabled systems to authorized personnel only, limiting the ability of local attackers to interact with vulnerable drivers.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Low
niche Qualcomm Cloud AI 100 accelerator driver, loaded only on specialized AI hosts
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.82 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.55 Affected

References

Advisories & patches
ADVISORY https://ubuntu.com/security/notices/USN-8125-1 ADVISORY https://ubuntu.com/security/notices/USN-8126-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20012/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20021/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20562/ REF https://git.kernel.org/stable/c/11f08c30a3e4157305ba692f1d44cca5fc9a8fca REF https://git.kernel.org/stable/c/1ab9733d14cc9987cc5dcd1f0ad1f416e302e2e6 REF https://git.kernel.org/stable/c/48b1d42286bfef7628b1d6c8c28d4e456c90f725 REF https://git.kernel.org/stable/c/551f1dfbcb7f3e6ed07f9d6c8c1c64337fcd0ede

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy