CVE-2021-47039
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | bf9c0538e485b591a2ee02d9adb8a99db4be5a2a < 07f86aa8f4fe077be1b018cc177eb8c6573e5671 | affected |
| Linux | Linux | bf9c0538e485b591a2ee02d9adb8a99db4be5a2a < 2a3a8bbca28b899806844c00d49ed1b7ccb50957 | affected |
| Linux | Linux | bf9c0538e485b591a2ee02d9adb8a99db4be5a2a < 1ffec389a6431782a8a28805830b6fae9bf00af1 | affected |
| Linux | Linux | 5.11 | affected |
| Linux | Linux | 0 < 5.11 | unaffected |
| Linux | Linux | 5.11.21 <= 5.11.* | unaffected |
| Linux | Linux | 5.12.4 <= 5.12.* | unaffected |
| Linux | Linux | 5.13 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1
References
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.