CVE-2026-139680
publishedmd/raid5: setup_conf: Fix null-ptr-def in error handling path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3418d036c81dcb604b7c7c71b209d5890a8418aa to < 241748f206c38042dc289944bfa5527a2a714f6d · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < 6786c076ef4ff85b0ec9e9a9558153599b8316cd · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < a11f75a0b24b761d50cf5d422e6b0776a3ce9006 · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < 0588354036c98f8d293f15462bbf0631b60bb9bb · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < e12457f33c3a5bd1270db85b05bf97a75c273680 · 3418d036c81dcb604b7c7c71b209d5890a8418aa to < eba5f518701b1c7f2d883504f89c41611bd2de46 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.12 (affected) · 0 to < 4.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3418d036c81dcb604b7c7c71b209d5890a8418aa to < 241748f206c38042dc289944bfa5527a2a714f6d (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < 6786c076ef4ff85b0ec9e9a9558153599b8316cd (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < a11f75a0b24b761d50cf5d422e6b0776a3ce9006 (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < 0588354036c98f8d293f15462bbf0631b60bb9bb (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < 1acc56bd8896fe2bb1974fdc61398a4a40037a3e (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < e12457f33c3a5bd1270db85b05bf97a75c273680 (affected · git)3418d036c81dcb604b7c7c71b209d5890a8418aa to < eba5f518701b1c7f2d883504f89c41611bd2de46 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.12 (affected)0 to < 4.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0588354036c98f8d293f15462bbf0631b60bb9bb
- https://git.kernel.org/stable/c/1acc56bd8896fe2bb1974fdc61398a4a40037a3e
- https://git.kernel.org/stable/c/241748f206c38042dc289944bfa5527a2a714f6d
- https://git.kernel.org/stable/c/6786c076ef4ff85b0ec9e9a9558153599b8316cd
- https://git.kernel.org/stable/c/a11f75a0b24b761d50cf5d422e6b0776a3ce9006
- https://git.kernel.org/stable/c/c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff
- https://git.kernel.org/stable/c/e12457f33c3a5bd1270db85b05bf97a75c273680
- https://git.kernel.org/stable/c/eba5f518701b1c7f2d883504f89c41611bd2de46
Provider assertions
1Linux · cna
md/raid5: setup_conf: Fix null-ptr-def in error handling path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f4b9fc7d1292e1c373429de4a2e5f14d3cb9fcac083c050a3549354d19c4bc0c
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record