PT-2026-162756
CVE-2026-138896
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
mm: hugetlb: return -ENOSPC on memcg charge failure
Patch series "Fix bugs in HugeTLB allocation when
mem cgroup charge hugetlb() fails", v2.
In hugetlb alloc folio(), when mem cgroup charge hugetlb() fails, there
are 2 issues:
-
free huge folio() expects a non-refcounted folio and will VM BUG ON FOLIO().
-
-ENOMEM is returned, causing an infinite loop retrying the fault.
This patch (of 2):
When mem cgroup charge hugetlb() fails with -ENOMEM, alloc hugetlb folio()
currently propagates this error. This results in the page fault handler
returning VM FAULT OOM.
Because HugeTLB allocations are high-order and use GFP RETRY MAYFAIL,
they bypass the OOM killer. Returning VM FAULT OOM to the #PF handler
without triggering the OOM killer (or having it make progress) leads to an
infinite loop of retrying the fault.
Avoid this loop by returning -ENOSPC when charging fails, which maps to
VM FAULT SIGBUS, terminating the process cleanly.
Make mem cgroup charge hugetlb() fault handling use a common error
handling path, the same handling used for
hugetlb cgroup uncharge cgroup{, rsvd}(), which also don't trigger the OOM
killer and hence opt to terminate the process with a SIGBUS.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾