CVE-2026-139680

Source
https://cve.org/CVERecord?id=CVE-2026-139680
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139680.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139680
Downstream
Published
2026-11-30T13:36:59Z
Modified
2026-11-30T15:02:30Z
Summary
md/raid5: setup_conf: Fix null-ptr-def in error handling path
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139680.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3418d036c81dcb604b7c7c71b209d5890a8418aa
Fixed
241748f206c38042dc289944bfa5527a2a714f6d
Fixed
6786c076ef4ff85b0ec9e9a9558153599b8316cd
Fixed
c9fcd1bd5dc42f1cb2af5c08ea42261f383fd8ff
Fixed
a11f75a0b24b761d50cf5d422e6b0776a3ce9006
Fixed
0588354036c98f8d293f15462bbf0631b60bb9bb
Fixed
1acc56bd8896fe2bb1974fdc61398a4a40037a3e
Fixed
e12457f33c3a5bd1270db85b05bf97a75c273680
Fixed
eba5f518701b1c7f2d883504f89c41611bd2de46

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139680.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139680.json"