Bug 2419923 (CVE-2025-40293) - CVE-2025-40293 kernel: iommufd: Don't overflow during division for dirty tracking
Summary: CVE-2025-40293 kernel: iommufd: Don't overflow during division for dirty trac...
Keywords:
Status: NEW
Alias: CVE-2025-40293
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:09 UTC by OSIDB Bzimport
Modified: 2026-06-29 19:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:09:01 UTC
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.

Comment 1 Jon Moroney 2025-12-08 19:23:31 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.