CVE-2024-27059
"Linux USB Storage Denial of Service"
Description
In the Linux kernel, the following vulnerability has been resolved: USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command The isd200 sub-driver in usb-storage uses the HEADS and SECTORS values in the ATA ID information to calculate cylinder and head values when creating a CDB for READ or WRITE commands. The calculation involves division and modulus operations, which will cause a crash if either of these values is 0. While this never happens with a genuine device, it could happen with a flawed or subversive emulation, as reported by the syzbot fuzzer. Protect against this possibility by refusing to bind to the device if either the ATA_ID_HEADS or ATA_ID_SECTORS value in the device's ID information is 0. This requires isd200_Initialization() to return a negative error code when initialization fails; currently it always returns 0 (even when there is an error).
INFO
Published Date :
May 1, 2024, 1:15 p.m.
Last Modified :
Jan. 14, 2025, 2:36 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27059
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27059
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27059
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-369 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.12 up to (excluding) 4.19.312 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.274 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.215 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.154 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.84 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 No Types Assigned https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 Patch Changed Reference Type https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 No Types Assigned https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 Patch Changed Reference Type https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 No Types Assigned https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 Patch Changed Reference Type https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 No Types Assigned https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 Patch Changed Reference Type https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 No Types Assigned https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 Patch Changed Reference Type https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 No Types Assigned https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 Patch Changed Reference Type https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 No Types Assigned https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 Patch Changed Reference Type https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 No Types Assigned https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 Patch Changed Reference Type https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 No Types Assigned https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 Patch Changed Reference Type https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 No Types Assigned https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 Patch Changed Reference Type https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 No Types Assigned https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 Patch Changed Reference Type https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 No Types Assigned https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 Patch Changed Reference Type https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f No Types Assigned https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f Patch Changed Reference Type https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f No Types Assigned https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f Patch Changed Reference Type https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa No Types Assigned https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa Patch Changed Reference Type https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa No Types Assigned https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 Added Reference https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 Added Reference https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 Added Reference https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 Added Reference https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 Added Reference https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 Added Reference https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f Added Reference https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command The isd200 sub-driver in usb-storage uses the HEADS and SECTORS values in the ATA ID information to calculate cylinder and head values when creating a CDB for READ or WRITE commands. The calculation involves division and modulus operations, which will cause a crash if either of these values is 0. While this never happens with a genuine device, it could happen with a flawed or subversive emulation, as reported by the syzbot fuzzer. Protect against this possibility by refusing to bind to the device if either the ATA_ID_HEADS or ATA_ID_SECTORS value in the device's ID information is 0. This requires isd200_Initialization() to return a negative error code when initialization fails; currently it always returns 0 (even when there is an error). Added Reference kernel.org https://git.kernel.org/stable/c/9968c701cba7eda42e5f0052b040349d6222ae34 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/eb7b01ca778170654e1c76950024270ba74b121f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/284fb1003d5da111019b9e0bf99b084fd71ac133 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6c1f36d92c0a8799569055012665d2bb066fb964 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f42ba916689f5c7b1642092266d2f53cf527aaaa [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/871fd7b10b56d280990b7e754f43d888382ca325 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3a67d4ab9e730361d183086dfb0ddd8c61f01636 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/014bcf41d946b36a8f0b8e9b5d9529efbb822f49 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27059
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27059
weaknesses.