iommupt: Do not allow PTEs to be split when dirty logging

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

iommupt: Do not allow PTEs to be split when dirty logging

If a single PTE cannot be stored in the current bitmap that should be a failure and reported back to userspace. Allowing a PTE to be split creates a possibility that dirty memory will be reported as clean.

The gather must also cover the entire PTE that is being cleaned, not just the part that fits within the bitmap.

Fix both issues by computing the full IOVA range of every PTE and using that to update the bitmap and the gather. The bitmap code now rejects ranges that don't fit in it, and the gather always combined ranges.

The selftest quietly relied on a bug where the CONT was split, that is why the half page size for the mock domain saw alternating dirties. Increase the dirty test page size to PAGE_SIZE so it still works as intended.

ProductVersions
Linux Linux4a00f943489103b4b9edff9f39bd484efbfb15fa to before b81d6ed1e542dbe7204138fd0acf502aa8299b02 Affected4a00f943489103b4b9edff9f39bd484efbfb15fa to before 04bcf84613346b973a8cc0c59238b6b5bc902688 Affected
Linux Linux6.19 Affectedbefore 6.19 Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.