GHSA-MWGV-CCFJ-MJFM
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In the Linux kernel, the following vulnerability has been resolved:
md/raid5: track disks array size to fix extra_page leak on error paths
free_conf() iterates conf->pool_size entries to free extra_page allocations, but pool_size may not reflect the actual size of the conf->disks array. Two scenarios cause a mismatch:
-
setup_conf() early abort: pool_size is 0 (not yet set by grow_stripes) but conf->disks has max_disks entries with extra_page allocated. The loop iterates 0 times, leaking all pages.
-
resize_stripes() Step 4 failure: conf->disks was replaced with a newsize-entry array in Step 3, but pool_size is only updated on success. The loop iterates pool_size (old, smaller value) times, leaking (newsize - pool_size) pages.
Add a dedicated disks_cnt field to track the actual number of entries in conf->disks. Set it immediately after each allocation or replacement (in setup_conf and resize_stripes Step 3, where the array is safely stalled with no concurrent access), and use it in free_conf() instead of pool_size.
This leaves pool_size untouched, preserving the check_reshape() retry behavior that depends on pool_size only being updated on full success.
{
"affected": [],
"aliases": [
"CVE-2026-139006"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:18:03Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: track disks array size to fix extra_page leak on error paths\n\nfree_conf() iterates conf-\u003epool_size entries to free extra_page\nallocations, but pool_size may not reflect the actual size of the\nconf-\u003edisks array. Two scenarios cause a mismatch:\n\n1. setup_conf() early abort: pool_size is 0 (not yet set by\n grow_stripes) but conf-\u003edisks has max_disks entries with\n extra_page allocated. The loop iterates 0 times, leaking all\n pages.\n\n2. resize_stripes() Step 4 failure: conf-\u003edisks was replaced with\n a newsize-entry array in Step 3, but pool_size is only updated\n on success. The loop iterates pool_size (old, smaller value)\n times, leaking (newsize - pool_size) pages.\n\nAdd a dedicated disks_cnt field to track the actual number of\nentries in conf-\u003edisks. Set it immediately after each allocation\nor replacement (in setup_conf and resize_stripes Step 3, where the\narray is safely stalled with no concurrent access), and use it in\nfree_conf() instead of pool_size.\n\nThis leaves pool_size untouched, preserving the check_reshape()\nretry behavior that depends on pool_size only being updated on\nfull success.",
"id": "GHSA-mwgv-ccfj-mjfm",
"modified": "2026-11-30T15:32:13Z",
"published": "2026-11-30T15:32:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139006"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/006ff293b34060e15ddfa50cbb2778a2446116ab"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5028ceee173bfcf844469cfb0d1c151d3f6d0296"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6a5408c6be7c3867221e0c692fc0c4f065c14f38"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8e1fa4e1e542ea25cf14e1d7a18b438c51eac6d6"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a0401d7e0aa3f36501a868ec8b1e6bcfaa7dcd35"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e4e9104f9ce463b6876144bae6d1e4484ceb3325"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e88c6ccee75ccb1334df0648843e2bc500ce90d0"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/fa1f5f15514c52936e12c77c6f719af6ec51a152"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.
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
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.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.