
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47039 affects the Linux kernel's Atari floppy disk driver (ataflop). The vulnerability was discovered in the do_format() function where a potential out-of-bounds access could occur due to improper bounds checking on the 'type' variable used as an array index. The issue affects Linux kernel versions from 5.11 through 5.11.21 and 5.12 through 5.12.4 (NVD).
The vulnerability exists in the do_format() function of the ataflop driver where the 'type' variable is used as an array index before proper bounds checking. Specifically, the line 'q = unit[drive].disk[type]->queue' uses 'type' as an array index before validating its bounds. The CVSS v3.1 base score is 7.1 HIGH with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).
The vulnerability could allow an attacker with local access to cause an out-of-bounds read in the kernel's memory, potentially leading to information disclosure and system crashes. The vulnerability has high impacts on confidentiality and availability but no impact on integrity (NVD).
The vulnerability requires local access with low complexity and low privileges to exploit. No user interaction is needed. The vulnerability is specific to systems using the Atari floppy disk driver (NVD).
The vulnerability has been fixed by moving the bounds check to the start of the function before the array access. The fix was implemented in kernel patches, as shown in the commit 1ffec389a6431782a8a28805830b6fae9bf00af1. Users should upgrade to kernel versions that include this fix (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."