CVE Vulnerabilities

CVE-2021-47039

Published: Feb 28, 2024 | Modified: Feb 28, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

In the Linux kernel, the following vulnerability has been resolved:

ataflop: potential out of bounds in do_format()

The function uses type as an array index:

q = unit[drive].disk[type]->queue;

Unfortunately the bounds check on type isnt done until later in the function. Fix this by moving the bounds check to the start.

References