CVE-2025-40293
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-40293, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-08

Last updated on: 2025-12-08

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Don't overflow during division for dirty tracking If pgshift is 63 then BITS_PER_TYPE(*bitmap->bitmap) * pgsize will overflow to 0 and this triggers divide by 0. In this case the index should just be 0, so reorganize things to divide by shift and avoid hitting any overflows.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-08
Last Modified
2025-12-08
Generated
2026-07-06
AI Q&A
2025-12-08
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's iommufd component involves an integer overflow during a division operation used for dirty tracking. Specifically, if the variable pgshift is 63, the calculation BITS_PER_TYPE(*bitmap->bitmap) * pgsize overflows to 0, causing a divide-by-zero error. The fix involves reorganizing the calculation to divide by shift instead, preventing the overflow and the divide-by-zero condition.

Impact Analysis

The vulnerability can cause a divide-by-zero error in the Linux kernel, which may lead to system instability, crashes, or potential denial of service. This could affect the reliability and availability of systems running vulnerable kernel versions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40293. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart