CVE-2021-47039Published Feb 28, 2024 · Feb 28Updated Jun 17
ataflop: potential out of bounds in do_format()
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.11.215.12.45.13In 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.
From the CVE record · Linux
The Linux kernel’s ataflop do_format() function uses a type value as an array index before checking its bounds. This can cause an out-of-bounds access; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with ataflop should check their installations; affected versions are not specified.