mm/huge_memory: split huge PUDs when adjusting VMA boundaries (Linux Linux)

CVE-2026-99647
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: split huge PUDs when adjusting VMA boundaries PFN mappings such as VFIO PCI BAR mappings can use PUD leaves while allowing VMA splits at page granularity. However, vma_adjust_trans_huge() only handles PMDs. After faulting a writable PUD-sized VFIO BAR mapping, changing its first page to read-only with mprotect() makes the PMD walk treat the PUD leaf as a PMD table. Applying MADV_DONTFORK to the first PMD-sized chunk leaves the PUD spanning two VMAs: the PMD-aligned boundary skips splitting. Walk the page tables once at each adjusted boundary and split a huge PUD or PMD leaf as needed. Handle PUD leaves even when the boundary is PMD-aligned.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ f9e54c3a2f5b79ecc57c7bc7d0d3521e461a2101 < bd918ee291da2d76dd03b5f9c2c2e550095ab538
affected : ≥ f9e54c3a2f5b79ecc57c7bc7d0d3521e461a2101 < 605ebb555bc8695b309dcd462be6c1437ef98421
affected : ≥ f9e54c3a2f5b79ecc57c7bc7d0d3521e461a2101 < 4636bc02303032f20710d97f40adb8f4eed22a66
affected : ≥ f9e54c3a2f5b79ecc57c7bc7d0d3521e461a2101 < 23e570927421d569fdc510d5f3f29542a43eeda5
Other versions : unaffected
Linux · Linux
affected : 6.12
unaffected : ≥ 0 < 6.12
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.5 ≤ 7.3.*
unaffected : ≥ 7.4-rc2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD