← VULNERABILITIES

CVE-2026-99727

mm/huge_memory: properly handle refcounted PUD mappings on fork

UnscoredFix available
CVSS
—
EPSS
0.17% (p6)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: properly handle refcounted PUD mappings on fork copy_huge_pud() copies device-DAX entries without taking a folio reference or updating mapcounts and the child's RSS. For example, MADV_GUARD_INSTALL sets VM_MAYBE_GUARD on a device-DAX VMA, forcing copy_page_range() to traverse the whole VMA on fork. Any remaining huge PUDs are then copied without accounting for the new mappings. Unmapping them in the child decrements accounting that was never added. Use vm_normal_page_pud() to identify refcounted mappings. Take a folio reference and add the child's PUD rmap and RSS accounting before installing the copied entry. Pass src and dst VMAs consistently instead of src and dst MM. Move the TODO.

Fixed in

6.18.65 · 7.3.5 · d90bdc02e36ec08d8248ebc6cdc52e12043eb28c · dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8 · e8ebc5a46795cd1fb4333df81f19bbf458467cce

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=6.15.0, <6.18.656.18.65
LinuxKernel>=6.19.0, <7.3.57.3.5
vendorLinux>=aed877c2b4257a25b2429f165542f86125871071, <d90bdc02e36ec08d8248ebc6cdc52e12043eb28cd90bdc02e36ec08d8248ebc6cdc52e12043eb28c
vendorLinux>=aed877c2b4257a25b2429f165542f86125871071, <dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8dcd4fd137baa6fe2c6c4643ee0ca0264f71831f8
vendorLinux>=aed877c2b4257a25b2429f165542f86125871071, <e8ebc5a46795cd1fb4333df81f19bbf458467ccee8ebc5a46795cd1fb4333df81f19bbf458467cce

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 11d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON