CVE-2021-20268: Linux Kernel - Out of Bounds Read/Write
- Cve: CVE-2021-20268
- Name: Linux Kernel - Out of Bounds Read/Write
- Description: An out-of-bounds access flaw was found in the Linux kernel's implementation of the eBPF code verifier in the way a user running the eBPF script calls dev_map_init_map or sock_map_alloc. This flaw allows a local user to crash the system or possibly escalate their privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
- Impact: Local users can crash the system or escalate privileges, potentially compromising system integrity and availability.
- Remediation: Update to the latest Linux kernel version where this issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to run eBPF scripts locally
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00321
- Epss percentile: 0.25337
- Assignee: [email protected]
- Published at: 2021-03-09T18:15:15Z
- Age in days: 2086
- Modified at: 2026-06-17T03:33:34Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20268
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-190 | Integer Overflow or Wraparound |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1923816 | Issue Tracking, Patch, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210409-0006/ | Third Party Advisory |
| https://lore.kernel.org/bpf/CACAyw99bEYWJCSGqfLiJ9Jp5YE1ZsZSiJxb4RFUTwbofipf0dA%40mail.gmail.com/T/#m8929643e99bea9c18ed490a7bc2591145eac6444 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | < 5.10.10 | no | nvd | /v1/products/linux/linux_kernel |
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