CVE Database›CVE-2025-40293

CVE-2025-40293

kernel: iommufd: Don't overflow during division for dirty tracking

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 8, 2025

Updated · June 30, 2026

Description

A divide-by-zero vulnerability was found in the iommufd dirty tracking code in the Linux kernel. When pgshift is 63, an integer overflow causes the divisor to become zero, triggering a kernel crash. This occurs during dirty bitmap index calculations for IOMMU operations.

Statement

iommufd is used for userspace IOMMU management, primarily in virtualization contexts. Triggering requires specific pgshift values of 63, which is an edge case unlikely in normal operation.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-190 · Integer Overflow or Wraparound