CVE-2024-50109

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

Medium · published November 5, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
9.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.6th percentile
Published
2024-11-05T17:10Z
EPSS history
Timeline
  • 05 NOV 17:10Z
    md/raid10: fix null ptr dereference in raid10_size()
    cvelistv5