CVE-2021-47039
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
28/02/2024
Last modified:
09/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ataflop: potential out of bounds in do_format()<br />
<br />
The function uses "type" as an array index:<br />
<br />
q = unit[drive].disk[type]->queue;<br />
<br />
Unfortunately the bounds check on "type" isn&#39;t done until later in the<br />
function. Fix this by moving the bounds check to the start.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.11.21 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12 (including) | 5.12.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957



