What’s Vulnerable › Vulnerabilities

CVE-2021-47039: ataflop: potential out of bounds in do_format()

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 5.11.21, 5.12.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47039 or the next vulnerability affects your stack