md/raid5: setup_conf: Fix null-ptr-def in error handling path
Summary
| CVE | CVE-2026-139680 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:56 UTC |
| Updated | 2026-11-30 14:19:56 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
md/raid5: setup_conf: Fix null-ptr-def in error handling path
For raid5 setup_conf, if an error(eg. bioset_init fails) happens before
'conf->mddev = mddev', following error handling path could trigger a
null-ptr-def problem:
free_conf
log_exit
raid5_has_ppl
test_bit(MD_HAS_PPL, &conf->mddev->flags) // conf->mddev is NULL !
Fix it by initializing conf->mddev in advance. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa 241748f206c38042dc289944bfa5527a2a714f6d git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa 6786c076ef4ff85b0ec9e9a9558153599b8316cd git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa a11f75a0b24b761d50cf5d422e6b0776a3ce9006 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa 0588354036c98f8d293f15462bbf0631b60bb9bb git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa 1acc56bd8896fe2bb1974fdc61398a4a40037a3e git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa e12457f33c3a5bd1270db85b05bf97a75c273680 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3418d036c81dcb604b7c7c71b209d5890a8418aa eba5f518701b1c7f2d883504f89c41611bd2de46 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.12 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.12 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.