CVE-2026-142926: md/raid5: give the io_unit slab caches per-array names

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

md/raid5: give the iounit slab caches per-array names

Both raid5 log backends create their iounit slab cache per array but name it after the struct:

pplconf->iokc = KMEMCACHE(ppliounit, 0); log->iokc = KMEMCACHE(r5liounit, 0);

KMEMCACHE() passes the stringified type as the cache name, so every array that enables PPL or attaches a journal asks for a cache called "ppliounit" or "r5liounit". With two such arrays live at the same time the second one trips kmemcachesanitycheck():

kmemcache of name 'ppliounit' already exists WARNING: mm/slabcommon.c:112 at kmemcachecreateargs+0xae/0x460 pplinitlog+0x285/0x1310 drivers/md/raid5-ppl.c:1363 loginit drivers/md/raid5-log.h:138 [inline] raid5changeconsistencypolicy+0x255/0x740 drivers/md/raid5.c:9141 consistencypolicystore+0x7f/0x230 drivers/md/md.c:5883 mdattrstore+0x3b7/0x640 drivers/md/md.c:6158

which is reachable by any user that can write "ppl" to md/consistencypolicy 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 growstripes() already does for the stripehead 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->cachename[] because mdname() can return up to DISKNAMELEN bytes.

The explicit size/align arguments keep what KMEMCACHE() expanded to, so object layout does not change.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.4.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Dec 3, 2026
CVE Published
via MITRE·03:26 AM
Data Sourced
via MITRE·03:26 AM
Description
Data Sourced
via OSV·03:26 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

Who can trigger this issue?

A user who can write "ppl" to md/consistency_policy on two RAID5 arrays can reach the issue. It can also occur when two journalled arrays are assembled.

2

What conditions are required for the warning to occur?

At least two arrays using the same affected RAID5 log backend must be live at the same time. The per-array slab caches use identical fixed names, causing the second cache creation to collide with the first.

3

How can I determine whether a system has encountered it?

Look for a kernel warning stating that a kmem_cache named "ppl_io_unit" already exists, with a stack trace involving ppl_init_log, raid5_change_consistency_policy, or consistency_policy_store.

4

What can be done if the fix cannot be applied immediately?

Avoid enabling PPL on a second array while another PPL-enabled array is live, and avoid assembling two journalled arrays concurrently. The described problem is a slab-cache name collision; cache creation and destruction are otherwise reported as correct.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203