NetSight
high7.1

CVE-2021-47039

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:…

Impact

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" isn't done until later in the function. Fix this by moving the bounds check to the start.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.11 before 5.11.21
from 5.12 before 5.12.4

Weakness classification

References