{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139006 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139006 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139006 and fix it if it is affected.\n\nWhat it is: CVE-2026-139006 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139006 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-139006/ (Markdown: https://insights.sbomify.com/CVE-2026-139006/index.md)","id":"CVE-2026-139006","markdown":"https://insights.sbomify.com/CVE-2026-139006/index.md","name":"CVE-2026-139006","record":{"aliases":["BELL-CVE-2026-139006","DEBIAN-CVE-2026-139006","GHSA-mwgv-ccfj-mjfm","UBUNTU-CVE-2026-139006"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"md/raid5: track disks array size to fix extra_page leak on error paths","id":"CVE-2026-139006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":8,"n_vendor_status":0,"next":{"headline":"usb: fotg210: validate endpoint index in ep0 handlers","id":"CVE-2026-139007"},"nickname":null,"packages":[],"prev":{"headline":"md/raid5: validate payload size before calculating payload_len","id":"CVE-2026-139005"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-30","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139006/"}