CVE-2025-40293
Unknown Unknown - Not Provided
BaseFortify

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-05-07
AI Q&A
2025-12-08
EPSS Evaluated
2026-05-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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart