md/raid10: fix divide-by-zero in setup_geo() with zero far_copies
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-369.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.9 and later | 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1 | Patch available | CNA |
- Linux VendorLinux Affected 3.9 and later Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1 Patch available CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.9.1 to before 5.10.258; 5.11 to before 5.15.209; 5.16 to before 6.1.175; 6.2 to before 6.6.140; 6.7 to before 6.12.88; 6.13 to before 6.18.30; 6.19 to before 7.0.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:-:*:*:*:*:*:* | 3.9 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:* | 3.9 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:* | 3.9 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:* | 3.9 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:* | 3.9 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:* | 3.9 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:* | 3.9 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.9:rc8:*:*:*:*:*:* | 3.9 rc8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | 7.1 rc1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.9.1 to before 5.10.258; 5.11 to before 5.15.209; 5.16 to before 6.1.175; 6.2 to before 6.6.140; 6.7 to before 6.12.88; 6.13 to before 6.18.30; 6.19 to before 7.0.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:-:*:*:*:*:*:* Versions 3.9 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:* Versions 3.9 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:* Versions 3.9 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:* Versions 3.9 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:* Versions 3.9 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:* Versions 3.9 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:* Versions 3.9 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.9:rc8:*:*:*:*:*:* Versions 3.9 rc8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* Versions 7.1 rc1 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46161
- 2026-10-03 Alias added: GHSA-fx5x-q37w-xxvr
- 2026-11-06 CISA SSVC decision points changed
References
Patch 8
- https://git.kernel.org/stable/c/0b43a70394ce492274e67463326be03e0a9897c5
- https://git.kernel.org/stable/c/c716ab3034f84f8a6c226814247b8c5ac9f95da1
- https://git.kernel.org/stable/c/553e32adfa1a96b217651139a3f8c3b92b9984ac
- https://git.kernel.org/stable/c/4af2e558e6fdfb972c61350653fd55d1f62b60a5
- https://git.kernel.org/stable/c/9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda
- https://git.kernel.org/stable/c/913d556e4bd1b56ed822815655b82c7bb54edc51
- https://git.kernel.org/stable/c/f9ddb621b2325eb69c95692958daf2bab4dea2c4
- https://git.kernel.org/stable/c/9aa6d860b0930e2f72795665c42c44252a558a0c
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-46161 · CVE Program
- CVE-2026-46161 · NVD
- FIRST EPSS
- GHSA-fx5x-q37w-xxvr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46161 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences