GHSA-363W-35XJ-QQJQ

Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30
VLAI
Details

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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142926"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:33Z",
    "severity": null
  },
  "details": "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-\u003eio_kc = KMEM_CACHE(ppl_io_unit, 0);\n\tlog-\u003eio_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 \u0027ppl_io_unit\u0027 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-\u003ecache_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.",
  "id": "GHSA-363w-35xj-qqjq",
  "modified": "2026-12-03T06:30:38Z",
  "published": "2026-12-03T06:30:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142926"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/22144451431b8f8e507b66d4ddbd183ae0658620"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/96858e2308431ff5678e0e6fab1a06e19f3d95da"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e1e94f812edfdd0fe05b21ce1737763d6e005b3e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f3a61fafd0f785a98796fdc3af652a8b1f4432d5"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.