CVE-2024-50109

Source
https://cve.org/CVERecord?id=CVE-2024-50109
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50109.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50109
Downstream
Related
Published
2024-11-05T17:10:42.689Z
Modified
2026-03-11T05:25:54.521739Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
md/raid10: fix null ptr dereference in raid10_size()
Details

In the Linux kernel, the following vulnerability has been resolved:

md/raid10: fix null ptr dereference in raid10_size()

In raid10run() if raid10setqueuelimits() succeed, the return value is set to zero, and if following procedures failed raid10run() will return zero while mddev->private is still NULL, causing null ptr dereference in raid10size().

Fix the problem by only overwrite the return value if raid10setqueue_limits() failed.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50109.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
3d8466ba68d444f5528dcbff106e8bf5c7d51aa0
Fixed
b3054db2fd2d35f2eb3b4b5fb1407792f465391c
Fixed
825711e00117fc686ab89ac36a9a7b252dc349c6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50109.json"