{"id":"CVE-2026-46161","aliases":["CVE-2026-46161"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid10: fix divide-by-zero in setup_geo() with zero far_copies","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix divide-by-zero in setup_geo() with zero far_copies\n\nsetup_geo() extracts near_copies (nc) and far_copies (fc) from the\nuser-provided layout parameter without checking for zero. When fc=0\nwith the \"improved\" far set layout selected, 'geo->far_set_size =\ndisks / fc' triggers a divide-by-zero.\n\nValidate nc and fc immediately after extraction, returning -1 if\neither is zero.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix divide-by-zero in setup_geo() with zero far_copies\n\nsetup_geo() extracts near_copies (nc) and far_copies (fc) from the\nuser-provided layout parameter without checking for zero. When fc=0\nwith the \"improved\" far set layout selected, 'geo->far_set_size =\ndisks / fc' triggers a divide-by-zero.\n\nValidate nc and fc immediately after extraction, returning -1 if\neither is zero.","source":"cvelist"}],"published":"2026-05-28T09:36:16.428Z","modified":"2026-11-06T17:17:41.563Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"0b43a70394ce492274e67463326be03e0a9897c5","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"c716ab3034f84f8a6c226814247b8c5ac9f95da1","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"553e32adfa1a96b217651139a3f8c3b92b9984ac","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"4af2e558e6fdfb972c61350653fd55d1f62b60a5","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"913d556e4bd1b56ed822815655b82c7bb54edc51","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"f9ddb621b2325eb69c95692958daf2bab4dea2c4","status":"affected"},{"type":"git","introduced":"475901aff15841fb0a81e7546517407779a9b061","fixed":"9aa6d860b0930e2f72795665c42c44252a558a0c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.88","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.30","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.7","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.9.1","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.88"},{"status":"affected","introduced":"6.13","fixed":"6.18.30"},{"status":"affected","introduced":"6.19","fixed":"7.0.7"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"3.9"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b43a70394ce492274e67463326be03e0a9897c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c716ab3034f84f8a6c226814247b8c5ac9f95da1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/553e32adfa1a96b217651139a3f8c3b92b9984ac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4af2e558e6fdfb972c61350653fd55d1f62b60a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d8e03b9a2b1e8ce5c198bf3a409a629f4d02cda","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/913d556e4bd1b56ed822815655b82c7bb54edc51","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9ddb621b2325eb69c95692958daf2bab4dea2c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9aa6d860b0930e2f72795665c42c44252a558a0c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:10:35.995Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46161","url":"https://www.cve.org/CVERecord?id=CVE-2026-46161","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:42.206Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46161","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46161","licence":"Public domain","modified":"2026-11-06T17:17:41.563Z"}],"updatedAt":"2026-11-25T22:59:22.826Z","epss":{"score":0.00131,"percentile":0.02932,"date":"2026-12-01T12:00:22.000Z"}}