{"api_version":"1","generated_at":"2026-12-03T05:54:43+00:00","cve":"CVE-2026-142926","urls":{"html":"https://cve.report/CVE-2026-142926","api":"https://cve.report/api/cve/CVE-2026-142926.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142926","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142926"},"summary":{"title":"md/raid5: give the io_unit slab caches per-array names","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: give the io_unit slab caches per-array names\n\nBoth raid5 log backends create their io_unit slab cache per array but\nname it after the struct:\n\n\tppl_conf->io_kc = KMEM_CACHE(ppl_io_unit, 0);\n\tlog->io_kc      = KMEM_CACHE(r5l_io_unit, 0);\n\nKMEM_CACHE() passes the stringified type as the cache name, so every\narray that enables PPL or attaches a journal asks for a cache called\n\"ppl_io_unit\" or \"r5l_io_unit\".  With two such arrays live at the same\ntime the second one trips kmem_cache_sanity_check():\n\n  kmem_cache of name 'ppl_io_unit' already exists\n  WARNING: mm/slab_common.c:112 at __kmem_cache_create_args+0xae/0x460\n   ppl_init_log+0x285/0x1310 drivers/md/raid5-ppl.c:1363\n   log_init drivers/md/raid5-log.h:138 [inline]\n   raid5_change_consistency_policy+0x255/0x740 drivers/md/raid5.c:9141\n   consistency_policy_store+0x7f/0x230 drivers/md/md.c:5883\n   md_attr_store+0x3b7/0x640 drivers/md/md.c:6158\n\nwhich is reachable by any user that can write \"ppl\" to\nmd/consistency_policy on two arrays, and equally by assembling two\njournalled arrays.  The cache is created and destroyed correctly on\nevery path, so this is a name collision only - duplicate names confuse\nslabtop and /proc/slabinfo, which is what the check is there to catch.\n\nBuild the name from the array instead, the way grow_stripes() already\ndoes for the stripe_head cache in this driver, and fall back to the\nmddev pointer for dm-raid where mdname() is the constant \"mdX\".  The\nbuffer is sized like conf->cache_name[] because mdname() can return up\nto DISK_NAME_LEN bytes.\n\nThe explicit size/align arguments keep what KMEM_CACHE() expanded to,\nso object layout does not change.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:33","updated_at":"2026-12-03 04:18:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e1e94f812edfdd0fe05b21ce1737763d6e005b3e","name":"https://git.kernel.org/stable/c/e1e94f812edfdd0fe05b21ce1737763d6e005b3e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/96858e2308431ff5678e0e6fab1a06e19f3d95da","name":"https://git.kernel.org/stable/c/96858e2308431ff5678e0e6fab1a06e19f3d95da","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22144451431b8f8e507b66d4ddbd183ae0658620","name":"https://git.kernel.org/stable/c/22144451431b8f8e507b66d4ddbd183ae0658620","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3a61fafd0f785a98796fdc3af652a8b1f4432d5","name":"https://git.kernel.org/stable/c/f3a61fafd0f785a98796fdc3af652a8b1f4432d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142926","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142926","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6bed0ef0a808164f51197de062e0450ce6c1f96 f3a61fafd0f785a98796fdc3af652a8b1f4432d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6bed0ef0a808164f51197de062e0450ce6c1f96 22144451431b8f8e507b66d4ddbd183ae0658620 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6bed0ef0a808164f51197de062e0450ce6c1f96 e1e94f812edfdd0fe05b21ce1737763d6e005b3e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f6bed0ef0a808164f51197de062e0450ce6c1f96 96858e2308431ff5678e0e6fab1a06e19f3d95da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/raid5-cache.c","drivers/md/raid5-ppl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f3a61fafd0f785a98796fdc3af652a8b1f4432d5","status":"affected","version":"f6bed0ef0a808164f51197de062e0450ce6c1f96","versionType":"git"},{"lessThan":"22144451431b8f8e507b66d4ddbd183ae0658620","status":"affected","version":"f6bed0ef0a808164f51197de062e0450ce6c1f96","versionType":"git"},{"lessThan":"e1e94f812edfdd0fe05b21ce1737763d6e005b3e","status":"affected","version":"f6bed0ef0a808164f51197de062e0450ce6c1f96","versionType":"git"},{"lessThan":"96858e2308431ff5678e0e6fab1a06e19f3d95da","status":"affected","version":"f6bed0ef0a808164f51197de062e0450ce6c1f96","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/raid5-cache.c","drivers/md/raid5-ppl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.4"},{"lessThan":"4.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: give the io_unit slab caches per-array names\n\nBoth raid5 log backends create their io_unit slab cache per array but\nname it after the struct:\n\n\tppl_conf->io_kc = KMEM_CACHE(ppl_io_unit, 0);\n\tlog->io_kc      = KMEM_CACHE(r5l_io_unit, 0);\n\nKMEM_CACHE() passes the stringified type as the cache name, so every\narray that enables PPL or attaches a journal asks for a cache called\n\"ppl_io_unit\" or \"r5l_io_unit\".  With two such arrays live at the same\ntime the second one trips kmem_cache_sanity_check():\n\n  kmem_cache of name 'ppl_io_unit' already exists\n  WARNING: mm/slab_common.c:112 at __kmem_cache_create_args+0xae/0x460\n   ppl_init_log+0x285/0x1310 drivers/md/raid5-ppl.c:1363\n   log_init drivers/md/raid5-log.h:138 [inline]\n   raid5_change_consistency_policy+0x255/0x740 drivers/md/raid5.c:9141\n   consistency_policy_store+0x7f/0x230 drivers/md/md.c:5883\n   md_attr_store+0x3b7/0x640 drivers/md/md.c:6158\n\nwhich is reachable by any user that can write \"ppl\" to\nmd/consistency_policy on two arrays, and equally by assembling two\njournalled arrays.  The cache is created and destroyed correctly on\nevery path, so this is a name collision only - duplicate names confuse\nslabtop and /proc/slabinfo, which is what the check is there to catch.\n\nBuild the name from the array instead, the way grow_stripes() already\ndoes for the stripe_head cache in this driver, and fall back to the\nmddev pointer for dm-raid where mdname() is the constant \"mdX\".  The\nbuffer is sized like conf->cache_name[] because mdname() can return up\nto DISK_NAME_LEN bytes.\n\nThe explicit size/align arguments keep what KMEM_CACHE() expanded to,\nso object layout does not change."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:26:02.725Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f3a61fafd0f785a98796fdc3af652a8b1f4432d5"},{"url":"https://git.kernel.org/stable/c/22144451431b8f8e507b66d4ddbd183ae0658620"},{"url":"https://git.kernel.org/stable/c/e1e94f812edfdd0fe05b21ce1737763d6e005b3e"},{"url":"https://git.kernel.org/stable/c/96858e2308431ff5678e0e6fab1a06e19f3d95da"}],"title":"md/raid5: give the io_unit slab caches per-array names","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142926","datePublished":"2026-12-03T03:26:02.725Z","dateReserved":"2026-12-03T03:10:28.337Z","dateUpdated":"2026-12-03T03:26:02.725Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:33","lastModifiedDate":"2026-12-03 04:18:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142926","Ordinal":"1","Title":"md/raid5: give the io_unit slab caches per-array names","CVE":"CVE-2026-142926","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142926","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: give the io_unit slab caches per-array names\n\nBoth raid5 log backends create their io_unit slab cache per array but\nname it after the struct:\n\n\tppl_conf->io_kc = KMEM_CACHE(ppl_io_unit, 0);\n\tlog->io_kc      = KMEM_CACHE(r5l_io_unit, 0);\n\nKMEM_CACHE() passes the stringified type as the cache name, so every\narray that enables PPL or attaches a journal asks for a cache called\n\"ppl_io_unit\" or \"r5l_io_unit\".  With two such arrays live at the same\ntime the second one trips kmem_cache_sanity_check():\n\n  kmem_cache of name 'ppl_io_unit' already exists\n  WARNING: mm/slab_common.c:112 at __kmem_cache_create_args+0xae/0x460\n   ppl_init_log+0x285/0x1310 drivers/md/raid5-ppl.c:1363\n   log_init drivers/md/raid5-log.h:138 [inline]\n   raid5_change_consistency_policy+0x255/0x740 drivers/md/raid5.c:9141\n   consistency_policy_store+0x7f/0x230 drivers/md/md.c:5883\n   md_attr_store+0x3b7/0x640 drivers/md/md.c:6158\n\nwhich is reachable by any user that can write \"ppl\" to\nmd/consistency_policy on two arrays, and equally by assembling two\njournalled arrays.  The cache is created and destroyed correctly on\nevery path, so this is a name collision only - duplicate names confuse\nslabtop and /proc/slabinfo, which is what the check is there to catch.\n\nBuild the name from the array instead, the way grow_stripes() already\ndoes for the stripe_head cache in this driver, and fall back to the\nmddev pointer for dm-raid where mdname() is the constant \"mdX\".  The\nbuffer is sized like conf->cache_name[] because mdname() can return up\nto DISK_NAME_LEN bytes.\n\nThe explicit size/align arguments keep what KMEM_CACHE() expanded to,\nso object layout does not change.","Type":"Description","Title":"md/raid5: give the io_unit slab caches per-array names"}]}}}