CVE-2026-90283: hugetlbfs: release subpool on fill_super failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
hugetlbfs: release subpool on fill_super failure
hugetlbfs_fill_super() allocates a hugepage subpool when size or min_size mount options are specified. hugepage_new_subpool() may also reserve huge pages for min_size.
If root dentry creation fails after the subpool is created, the failure path frees the subpool with kfree(). This bypasses hugepage_put_subpool() and can leave min_size reservations charged.
Use hugepage_put_subpool() on the failure path, matching the normal put_super path.
The Linux kernel CVE team has assigned CVE-2026-90283 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 5.10.270 with commit f2d6cea221d777fab3ba18f805ba4c17c90e0b8b Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 5.15.221 with commit 91c4f3a87862fd86594d5945512decbfa0b1d13d Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 6.1.188 with commit 04f0354a4abf6793aa5b3f32e2b019ab206f344d Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 6.6.157 with commit 5b7fc7a1ce2a5f2cd8ed80a883157c7108074e0b Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 6.12.110 with commit 1d8be4ee81e73fcc52e58f47842d9a2277cfeaaa Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 6.18.52 with commit dfe848cadfde4179a0691da34f4bed36ff7185b5 Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 7.2.6 with commit dc2bd517ac0bce4ec7498644bd16b6db502df8e2 Issue introduced in 4.1 with commit 7ca02d0ae586fe7df59632966a64f3f1a756ef05 and fixed in 7.3-rc1 with commit 308ab73e97c87bd0e142b11758faab7f88d82854
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90283
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/hugetlbfs/inode.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f2d6cea221d777fab3ba18f805ba4c17c90e0b8b https://git.kernel.org/stable/c/91c4f3a87862fd86594d5945512decbfa0b1d13d https://git.kernel.org/stable/c/04f0354a4abf6793aa5b3f32e2b019ab206f344d https://git.kernel.org/stable/c/5b7fc7a1ce2a5f2cd8ed80a883157c7108074e0b https://git.kernel.org/stable/c/1d8be4ee81e73fcc52e58f47842d9a2277cfeaaa https://git.kernel.org/stable/c/dfe848cadfde4179a0691da34f4bed36ff7185b5 https://git.kernel.org/stable/c/dc2bd517ac0bce4ec7498644bd16b6db502df8e2 https://git.kernel.org/stable/c/308ab73e97c87bd0e142b11758faab7f88d82854