PT-2026-47755 · Linux · Linux

Published

2026-06-09

·

Updated

2026-06-09

·

CVE-2026-46318

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
Revert "mm/hugetlbfs: update hugetlbfs to use mmap prepare"
This reverts commit ea52cb24cd3f ("mm/hugetlbfs: update hugetlbfs to use mmap prepare") with conflict resolution to account for changes in commit ea52cb24cd3f ("mm/hugetlbfs: update hugetlbfs to use mmap prepare").
The patch incorrectly handled hugetlb VMA lock allocation at the mmap prepare stage, where a failed allocation occurring after mmap prepare is called might result in the lock leaking.
There is no risk of a merge causing a similar issues, as VMA DONTEXPAND BIT is set for hugetlb mappings.
As a first step in addressing this issue, simply revert the change so we can rework how we do this having corrected the underlying issues.
We maintain the VMA flags changes as best we can, accounting for the fact that we were working with a VMA descriptor previously and propagating like-for-like changes for this.
Note that we invoke vma set flags() and do not call vma start write() as vm flags set() does. This is OK as it's being done in an .mmap hook where the VMA is not yet linked into the tree so nobody else can be accessing it.

Related Identifiers

CVE-2026-46318

Affected Products

Linux