md/raid10: fix divide-by-zero in setup_geo() with zero far_copies
setup_geo() extracts near_copies (nc) and far_copies (fc) from the
user-provided layout parameter without checking for zero. When fc=0
with the "improved" far set layout selected, 'geo->far_set_size =
disks / fc' triggers a divide-by-zero.
Validate nc and fc immediately after extraction, returning -1 if
either is zero.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Tue, 09 Jun 2026 21:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:o:linux:linux_kernel:3.9:-:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:3.9:rc8:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
Mon, 01 Jun 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Fri, 29 May 2026 00:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Thu, 28 May 2026 12:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-369 |
Thu, 28 May 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix divide-by-zero in setup_geo() with zero far_copies setup_geo() extracts near_copies (nc) and far_copies (fc) from the user-provided layout parameter without checking for zero. When fc=0 with the "improved" far set layout selected, 'geo->far_set_size = disks / fc' triggers a divide-by-zero. Validate nc and fc immediately after extraction, returning -1 if either is zero. | |
| Title | md/raid10: fix divide-by-zero in setup_geo() with zero far_copies | |
| First Time appeared |
Linux
Linux linux Kernel |
|
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Linux
Linux linux Kernel |
|
| References |
|
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-06-14T17:59:07.789Z
Reserved: 2026-05-13T15:03:33.102Z
Link: CVE-2026-46161
No data.
Status : Analyzed
Published: 2026-05-28T10:16:31.770
Modified: 2026-06-09T21:06:33.227
Link: CVE-2026-46161
OpenCVE Enrichment
Updated: 2026-05-29T03:30:26Z