md/raid10: fix null ptr dereference in raid10_size()
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix null ptr dereference in raid10_size() In raid10_run() if raid10_set_queue_limits() succeed, the return value is set to zero, and if following procedures failed raid10_run() will return zero while mddev->private is still NULL, causing null ptr dereference in raid10_size(). Fix the problem by only overwrite the return value if raid10_set_queue_limits() failed.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.6
- CVEs
- CVE-2024-50109
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 10:45 UTC · Revision 1
Source evidence
md/raid10: fix null ptr dereference in raid10_size()
core-osv · Original sourcePublished 5 Nov 2024, 17:10 UTC
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix null ptr dereference in raid10_size() In raid10_run() if raid10_set_queue_limits() succeed, the return value is set to zero, and if following procedures failed raid10_run() will return zero while mddev->private is still NULL, causing null ptr dereference in raid10_size(). Fix the problem by only overwrite the return value if raid10_set_queue_limits() failed.
osv:CVE-2024-50109
Kernel
Fixed versions: 6.11.6
Complete source record
{
"id": "b37486a070db32743462327fa882407ab92572ce7a4f2b1ca161b87e4ccdafb1",
"url": "https://osv.dev/vulnerability/CVE-2024-50109",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "md/raid10: fix null ptr dereference in raid10_size()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix null ptr dereference in raid10_size() In raid10_run() if raid10_set_queue_limits() succeed, the return value is set to zero, and if following procedures failed raid10_run() will return zero while mddev->private is still NULL, causing null ptr dereference in raid10_size(). Fix the problem by only overwrite the return value if raid10_set_queue_limits() failed.",
"evidence": "osv:CVE-2024-50109",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.11.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-50109",
"aliases": [
"CVE-2024-50109"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3d8466ba68d444f5528dcbff106e8bf5c7d51aa0"
},
{
"fixed": "b3054db2fd2d35f2eb3b4b5fb1407792f465391c"
},
{
"fixed": "825711e00117fc686ab89ac36a9a7b252dc349c6"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50109.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.11.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50109.json"
}
}
],
"modified": "2026-10-28T02:30:44.145228578Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/825711e00117fc686ab89ac36a9a7b252dc349c6",
"https://git.kernel.org/stable/c/b3054db2fd2d35f2eb3b4b5fb1407792f465391c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50109.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-50109",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50109.json"
}
},
"related_cves": [
{
"value": "CVE-2024-50109",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 511665,
"published_at": "2024-11-05T17:10:42.689+00:00"
}