CVEvulnerability

CVE-2026-46161

5.5 MEDIUM Published 2026-05-28 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2026-05-28
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-369

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.

Affected configurations

• linux linux kernel (>= 3.9.1 < 5.10.258) • linux linux kernel (>= 5.11 < 5.15.209) • linux linux kernel (>= 5.16 < 6.1.175) • linux linux kernel (>= 6.2 < 6.6.140) • linux linux kernel (>= 6.7 < 6.12.88) • linux linux kernel (>= 6.13 < 6.18.30) • linux linux kernel (>= 6.19 < 7.0.7) • linux linux kernel 3.9 • linux linux kernel 7.1

Related

Weakness · CWE (1)

References