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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-369
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3104ff880> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36ab77d40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd39c4b2cc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36ab75400> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3104ff840> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3104ff940> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36ab74e80> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd36ab76c40> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd308076740> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd3104fefc0> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd308075380> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd36ab76700> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd38464e380> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd340146e00> | Operating System |
| linux | linux_kernel | 3.9 | <built-in method update of dict object at 0x7fd36ab74e00> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36948fc40> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc7:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:3.9:rc8:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |