Database/Kernel, userspace & hypervisor
Linux kernel mm/hugetlb: use-after-free of folio in hugetlb_mfill_atomic_pte() after dropping PTL
Impact
hugetlb_mfill_atomic_pte(), the userfaultfd fill path for hugetlb memory, uses a folio after dropping the page-table lock. A concurrent MADV_DONTNEED can free it in between, which is a use-after-free in the host kernel. The record is short: it calls this another instance of the same pattern as other hugetlb fixes, and gives no reproducer or impact detail.
Who can reach it
Local. Needs a process that can use userfaultfd on a hugetlb mapping and race MADV_DONTNEED against it. The record does not say which privileges are needed. userfaultfd access for unprivileged users depends on the vm.unprivileged_userfaultfd sysctl.
What to do
Install a kernel with the stable fix, then drain and reboot each node. Restricting userfaultfd (vm.unprivileged_userfaultfd=0, seccomp) and not exposing hugepages to workloads shrinks the exposure, but the record does not name these as mitigations. The record gives no fixed version numbers.
References
Related entries
- Linux kernel iommufd: event queue release reads freed memory when racing IOMMU_DESTROYCVE-2026-99515 · Linux kernel iommufd (event queue / fault fd release)Unscored
- Linux kernel nvmet-fc: create-connection races disconnect, use-after-free of association in NVMe/FC targetCVE-2026-99516 · Linux kernel nvmet-fc (NVMe over Fibre Channel target)Unscored
- ProFTPD mod_copy: unauthenticated SITE CPFR/CPTO gives arbitrary file read and writeCVE-2015-3306 · ProFTPD mod_copy (SITE CPFR / SITE CPTO)Critical
- Microsoft Hyper-V: vmswitch fails to validate guest OID requestsCVE-2021-28476 · Microsoft Hyper-VCritical
- Incus: instance snapshots bypass restricted.containers.lowlevel, giving command execution on the hostCVE-2026-48751 · Incus (instance snapshots ignore restricted.containers.lowlevel)Critical
- glibc through 2.29: heap buffer over-read in regexec during case-insensitive regex matchingCVE-2019-9169 · glibc regexec (proceed_next_node, case-insensitive matching)Critical
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.