Kernel crash via overflowing dirty-bitmap divisor
Published Dec 8, 2025 · Updated May 11, 2026
Divide-by-zero in Linux kernel iommufd dirty tracking allows local users to crash the kernel through a crafted dirty-bitmap ioctl. The iova_bitmap_offset_to_index function multiplies a 63-bit page size by the bitmap word width, wraps the divisor to zero, and divides the IOVA by it. Reachability requires local access to iommufd dirty tracking with a page shift of 63; the demonstrated consequence is a kernel crash.
Summary
What happened
Divide-by-zero in Linux kernel iommufd dirty tracking allows local users to crash the kernel through a crafted dirty-bitmap ioctl. The iova_bitmap_offset_to_index function multiplies a 63-bit page size by the bitmap word width, wraps the divisor to zero, and divides the IOVA by it. Reachability requires local access to iommufd dirty tracking with a page shift of 63; the demonstrated consequence is a kernel crash.
The record
- CVE
- CVE-2025-40293
- Published
- Dec 8, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-190, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 8, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 <07105e61882ff4a7d58db63cc5f9e90c6c60506c
- Affected versionversion=58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 <4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69
- Affected versionversion=58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 <cb30dfa75d55eced379a42fd67bd5fb7ec38555e
- Affected versionversion=58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 <dbf316fc90aa954dcd5440817f4b944627ed63e0
- Affected versionversion=58ccf0190d19d9a8a41f8a02b9e06742b58df4a1 <de7f2c67ceb1941b05b04ac35458a03e93cc57b1
- Affected versionversion=6.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- syzkaller iova_bitmap_alloc C reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo