Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40293

UNSCOREDEPSS 13%

iommufd: Don't overflow during division for dirty tracking

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < dbf316fc90aa954dcd5440817f4b944627ed63e0; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < cb30dfa75d55eced379a42fd67bd5fb7ec38555e
  • Anyone running Linux 6.1

Vulnerability facts

Affected
Linux >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < dbf316fc90aa954dcd5440817f4b944627ed63e0; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < cb30dfa75d55eced379a42fd67bd5fb7ec38555e; Linux 6.1
Fixed in
Linux 07105e61882ff4a7d58db63cc5f9e90c6c60506c, Linux 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < dbf316fc90aa954dcd5440817f4b944627ed63e0; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < cb30dfa75d55eced379a42fd67bd5fb7ec38555e—cvelist
Linux6.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40293. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40293.md
Affected: Linux >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1; >= 58ccf0190d19d9a8a41f8a0…
Fixed in: Linux 07105e61882ff4a7d58db63cc5f9e90c6c60506c, Linux 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40293 being exploited?

There is no confirmed exploitation: CVE-2025-40293 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40293?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40293?

Linux >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < dbf316fc90aa954dcd5440817f4b944627ed63e0; >= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < cb30dfa75d55eced379a42fd67bd5fb7ec38555e; Linux 6.1.

Is there a fix for CVE-2025-40293?

Yes. Fixed in Linux 07105e61882ff4a7d58db63cc5f9e90c6c60506c, Linux 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40293?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors