CVE-2026-139680
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3418d036c81dcb604b7c7c71b209d5890a8418aa before 241748f206c38042dc289944bfa5527a2a714f6d, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before 6786c076ef4ff85b0ec9e9a9558153599b8316cd, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before a11f75a0b24b761d50cf5d422e6b0776a3ce9006, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before 0588354036c98f8d293f15462bbf0631b60bb9bb, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before 1acc56bd8896fe2bb1974fdc61398a4a40037a3e, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before e12457f33c3a5bd1270db85b05bf97a75c273680, from 3418d036c81dcb604b7c7c71b209d5890a8418aa before eba5f518701b1c7f2d883504f89c41611bd2de46 and 1 more
Not affected: before 4.12, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139680 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139680 changed 2026-11-30Public domain