hugetlbfs: release subpool on fill_super failure
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 87% of all CVEs
observed exploitation
nono source reports it
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.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/04f0354a4abf6793aa5b3f32e2b019ab206f344dhttps://git.kernel.org/stable/c/1d8be4ee81e73fcc52e58f47842d9a2277cfeaaahttps://git.kernel.org/stable/c/308ab73e97c87bd0e142b11758faab7f88d82854https://git.kernel.org/stable/c/5b7fc7a1ce2a5f2cd8ed80a883157c7108074e0bhttps://git.kernel.org/stable/c/91c4f3a87862fd86594d5945512decbfa0b1d13dhttps://git.kernel.org/stable/c/dc2bd517ac0bce4ec7498644bd16b6db502df8e2https://git.kernel.org/stable/c/dfe848cadfde4179a0691da34f4bed36ff7185b5https://git.kernel.org/stable/c/f2d6cea221d777fab3ba18f805ba4c17c90e0b8b