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]-&gt;queue;<br /> <br /> Unfortunately the bounds check on "type" isn&amp;#39;t done until later in the<br /> function. Fix this by moving the bounds check to the start.

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)