mm/hugetlb: tolerate uffd bits set without uffd for PROT_NONE PTEs

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:

mm/hugetlb: tolerate uffd bits set without uffd for PROT_NONE PTEs

The whole uffd handling when a VMA is unregistered from UFFD is shaky: there are still some scenarios where we might have stale uffd PTE bits in VMAs no longer registered for UFFD, which confuses other code.

Let's just tolerate that for now and simply clear the PTE bit. Add a TODO to really clean up any uffd leftovers when unregistering a VMA from userfaultfd.

The handling is now more similar to what we have in handle_pte_fault().

ProductVersions
Linux Linux2d427bb0163978875dfbbcec7b7dd0c1320f419e to before 49e58b223494d7d1895073e63c8273ecb93b0f0c Affected2d427bb0163978875dfbbcec7b7dd0c1320f419e to before 811777d82038d4fd3f5d3bf986f682df463b6f21 Affected
Linux Linux7.3 Affectedbefore 7.3 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.