PT-2026-163047
CVE-2026-139006
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
md/raid5: track disks array size to fix extra page leak on error paths
free conf() iterates conf->pool size entries to free extra page
allocations, but pool size may not reflect the actual size of the
conf->disks array. Two scenarios cause a mismatch:
-
setup conf() early abort: pool size is 0 (not yet set by grow stripes) but conf->disks has max disks entries with extra page allocated. The loop iterates 0 times, leaking all pages.
-
resize stripes() Step 4 failure: conf->disks was replaced with a newsize-entry array in Step 3, but pool size is only updated on success. The loop iterates pool size (old, smaller value) times, leaking (newsize - pool size) pages.
Add a dedicated disks cnt field to track the actual number of
entries in conf->disks. Set it immediately after each allocation
or replacement (in setup conf and resize stripes Step 3, where the
array is safely stalled with no concurrent access), and use it in
free conf() instead of pool size.
This leaves pool size untouched, preserving the check reshape()
retry behavior that depends on pool size only being updated on
full success.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾