CVE-2021-20261: Linux Kernel - Race Condition
- Cve: CVE-2021-20261
- Name: Linux Kernel - Race Condition
- Description: A race condition was found in the Linux kernels implementation of the floppy disk drive controller driver software. The impact of this issue is lessened by the fact that the default permissions on the floppy device (/dev/fd0) are restricted to root. If the permissions on the device have changed the impact changes greatly. In the default configuration root (or equivalent) permissions are required to attack this flaw.
- Impact: Potential for privilege escalation or system compromise if permissions are altered, otherwise limited by default device permissions.
- Remediation: Update to the latest Linux kernel version where the race condition is fixed.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation
- Requirement type: admin_privileges
- Requirements: Attacker needs root or equivalent permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.4
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00227
- Epss percentile: 0.13513
- Assignee: [email protected]
- Published at: 2021-03-11T21:15:11Z
- Age in days: 2084
- Modified at: 2026-06-17T03:33:33Z
- Patch available: yes
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20261
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
| Url | Source | Tags |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1932150 | nvd | Issue Tracking, Patch, Third Party Advisory |
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0c80efe5956ccce9fe7ae5c78542578c07bc20a | nvd | Mailing List, Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | < 4.5, = 4.5, = 4.5 rc1, = 4.5 rc2, = 4.5 rc3, = 4.5 rc4 | no | nvd | /v1/products/linux/linux_kernel |
| redhat:enterprise_linux | = 7.0 | no | nvd | /v1/products/redhat/enterprise_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports