CVE-2026-46161: md/raid10: fix divide-by-zero in setup_geo() with zero far_copies

Published May 28, 2026
·
Updated

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

md/raid10: fix divide-by-zero in setupgeo() with zero farcopies

setupgeo() extracts nearcopies (nc) and farcopies (fc) from the user-provided layout parameter without checking for zero. When fc=0 with the "improved" far set layout selected, 'geo->farsetsize = disks / fc' triggers a divide-by-zero.

Validate nc and fc immediately after extraction, returning -1 if either is zero.

Affected Software

18 affected componentsFixes available
Linux Linux kernel
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=3.9-rc2
Linux Linux kernel=3.9-rc3
Linux Linux kernel=3.9-rc4
Linux Linux kernel=3.9-rc5
Linux Linux kernel=3.9-rc6
Linux Linux kernel=3.9-rc7
Linux Linux kernel=3.9-rc8
Linux Linux kernel=7.1-rc1
Microsoft azl3 kernel 6.6.139.1-1<6.6.141.1-1
6.6.141.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.141.1-1

Event History

May 28, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
Description
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 29, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the Linux kernel RAID10 md subsystem are exposed when a user can provide a RAID10 layout that selects the improved far-set layout with far_copies set to zero. The affected software list includes the Linux kernel and Microsoft azl3 kernel 6.6.139.1-1.

2

What does an attacker need to trigger the failure?

The attacker needs local access and low privileges, with the ability to supply a RAID10 layout parameter. No user interaction is required; the vulnerable condition is far_copies=0 in an improved far-set layout.

3

What is the impact of successful exploitation?

The invalid layout causes a divide-by-zero in setup_geo() when calculating far_set_size. The CVSS vector identifies the impact as availability-only, with high availability impact and no confidentiality or integrity impact.

4

What mitigation is available if an updated kernel cannot be deployed immediately?

Prevent untrusted or low-privileged users from creating or configuring RAID10 arrays with user-provided layout parameters. In particular, reject improved far-set RAID10 layouts where either near_copies or far_copies is zero.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203