{"id":"CVE-2024-27059","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: usb-storage: Prevent divide-by-0 error in isd200_ata_command\n\nThe isd200 sub-driver in usb-storage uses the HEADS and SECTORS values\nin the ATA ID information to c…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: usb-storage: Prevent divide-by-0 error in isd200_ata_command\n\nThe isd200 sub-driver in usb-storage uses the HEADS and SECTORS values\nin the ATA ID information to c…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-369"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 2.6.12, < 4.19.312","linux_kernel >= 4.20, < 5.4.274","linux_kernel >= 5.5, < 5.10.215","linux_kernel >= 5.11, < 5.15.154","linux_kernel >= 5.16, < 6.1.84","linux_kernel >= 6.2, < 6.6.64","linux_kernel >= 6.7, < 6.7.12","linux_kernel = 6.8","debian_linux = 10.0"],"patched":["linux_kernel 6.7.12"],"published":"2024-05-01","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:17:38.527","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-27059","references":[{"url":"https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00242,"epssPercentile":0.15291,"ingestedAt":"2026-10-15T03:30:12.674Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-09T18:38:40.955330Z"},"slug":"CVE-2024-27059","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nUSB: usb-storage: Prevent divide-by-0 error in isd200_ata_command\n\nThe isd200 sub-driver in usb-storage uses the HEADS and SECTORS values\nin the ATA ID information to calculate cylinder and head values when\ncreating a CDB for READ or WRITE commands.  The calculation involves\ndivision and modulus operations, which will cause a crash if either of\nthese values is 0.  While this never happens with a genuine device, it\ncould happen with a flawed or subversive emulation, as reported by the\nsyzbot fuzzer.\n\nProtect against this possibility by refusing to bind to the device if\neither the ATA_ID_HEADS or ATA_ID_SECTORS value in the device's ID\ninformation is 0.  This requires isd200_Initialization() to return a\nnegative error code when initialization fails; currently it always\nreturns 0 (even when there is an error).\n\n## Affected\n\n- `linux_kernel >= 2.6.12, < 4.19.312`\n- `linux_kernel >= 4.20, < 5.4.274`\n- `linux_kernel >= 5.5, < 5.10.215`\n- `linux_kernel >= 5.11, < 5.15.154`\n- `linux_kernel >= 5.16, < 6.1.84`\n- `linux_kernel >= 6.2, < 6.6.64`\n- `linux_kernel >= 6.7, < 6.7.12`\n- `linux_kernel = 6.8`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.7.12`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}