CVE-2021-47039
publishedataflop: potential out of bounds in do_format()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 07f86aa8f4fe077be1b018cc177eb8c6573e5671 · bf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 2a3a8bbca28b899806844c00d49ed1b7ccb50957 · bf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 1ffec389a6431782a8a28805830b6fae9bf00af1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 07f86aa8f4fe077be1b018cc177eb8c6573e5671 (affected · git)bf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 2a3a8bbca28b899806844c00d49ed1b7ccb50957 (affected · git)bf9c0538e485b591a2ee02d9adb8a99db4be5a2a to < 1ffec389a6431782a8a28805830b6fae9bf00af1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
ataflop: potential out of bounds in do_format()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e9909181de227147d24ee36910aea404a67ac52b8f814aa74f19f6afd3b6574c
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record