PT-2026-166663
CVE-2026-142926
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
md/raid5: give the io unit slab caches per-array names
Both raid5 log backends create their io unit slab cache per array but
name it after the struct:
ppl conf->io kc = KMEM CACHE(ppl io unit, 0);
log->io kc = KMEM CACHE(r5l io unit, 0);KMEM CACHE() passes the stringified type as the cache name, so every
array that enables PPL or attaches a journal asks for a cache called
"ppl io unit" or "r5l io unit". With two such arrays live at the same
time the second one trips kmem cache sanity check():
kmem cache of name 'ppl io unit' already exists
WARNING: mm/slab common.c:112 at kmem cache create args+0xae/0x460
ppl init log+0x285/0x1310 drivers/md/raid5-ppl.c:1363
log init drivers/md/raid5-log.h:138 [inline]
raid5 change consistency policy+0x255/0x740 drivers/md/raid5.c:9141
consistency policy store+0x7f/0x230 drivers/md/md.c:5883
md attr store+0x3b7/0x640 drivers/md/md.c:6158
which is reachable by any user that can write "ppl" to
md/consistency policy on two arrays, and equally by assembling two
journalled arrays. The cache is created and destroyed correctly on
every path, so this is a name collision only - duplicate names confuse
slabtop and /proc/slabinfo, which is what the check is there to catch.
Build the name from the array instead, the way grow stripes() already
does for the stripe head cache in this driver, and fall back to the
mddev pointer for dm-raid where mdname() is the constant "mdX". The
buffer is sized like conf->cache name[] because mdname() can return up
to DISK NAME LEN bytes.
The explicit size/align arguments keep what KMEM CACHE() expanded to,
so object layout does not change.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾