Vulnerability record
md/raid5: give the io_unit slab caches per-array names
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources