hugetlbfs: release subpool on fill_super failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in f2d6cea221d777fab3ba18f805ba4c17c90e0b8b; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in 91c4f3a87862fd86594d5945512decbfa0b1d13d; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in 04f0354a4abf6793aa5b3f32e2b019ab206f344d; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in 5b7fc7a1ce2a5f2cd8ed80a883157c7108074e0b; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in 1d8be4ee81e73fcc52e58f47842d9a2277cfeaaa; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in dfe848cadfde4179a0691da34f4bed36ff7185b5; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in dc2bd517ac0bce4ec7498644bd16b6db502df8e2; From 7ca02d0ae586fe7df59632966a64f3f1a756ef05 · fixed in 308ab73e97c87bd0e142b11758faab7f88d82854
- Linux Linux
4.1
- KernelLinux
From 4.1.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/f2d6cea221d777fab3ba18f805ba4c17c90e0b8b
- stable/c/91c4f3a87862fd86594d5945512decbfa0b1d13d
- stable/c/04f0354a4abf6793aa5b3f32e2b019ab206f344d
- stable/c/5b7fc7a1ce2a5f2cd8ed80a883157c7108074e0b
- stable/c/1d8be4ee81e73fcc52e58f47842d9a2277cfeaaa
- stable/c/dfe848cadfde4179a0691da34f4bed36ff7185b5
- stable/c/dc2bd517ac0bce4ec7498644bd16b6db502df8e2
- stable/c/308ab73e97c87bd0e142b11758faab7f88d82854