md/raid5: setup_conf: Fix null-ptr-def in error handling path

Summary

CVECVE-2026-139680
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:56 UTC
Updated2026-11-30 14:19:56 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report