Vulnerability · Published Apr 2, 2020 · Assigned by canonical
CVE-2020-8835Linux kernel bpf verifier vulnerability
High 7.8
In plain English
A high-severity security flaw in Linux kernel from Linux kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.0% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel 5.5.0 and newer, the bpf verifier (kernel/bpf/verifier.c) did not properly restrict the register bounds for 32-bit operations, leading to out-of-bounds reads and writes in kernel memory. The vulnerability also affects the Linux 5.4 stable series, starting with v5.4.7, as the introducing commit was backported to that branch. This vulnerability was fixed in 5.6.1, 5.5.14, and 5.4.29. (issue is aka ZDI-CAN-10780)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.5.13-2 | DEBIAN-CVE-2020-8835 |
| Debian:13 | linux | 5.5.13-2 | DEBIAN-CVE-2020-8835 |
| Debian:14 | linux | 5.5.13-2 | DEBIAN-CVE-2020-8835 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux kernel | Linux kernel | 5.6-stable – before 5.6.15.5-stable – before 5.5.145.4.7 – before 5.4-stable* |
References
- USN-4313-1 vendor-advisory, x_refsource_UBUNTU
- https://www.thezdi.com/blog/2020/3/19/pwn2own-2020-day-one-results x_refsource_MISC
- https://lore.kernel.org/bpf/20200330160324.15259-1-daniel%40iogearbox.net/T/ x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2020/03/30/3 x_refsource_MISC
- https://usn.ubuntu.com/usn/usn-4313-1 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=f2d67fec0b43edce8c416101cdc52e71145b5fef x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2d67fec0b43edce8c416101cdc52e71145b5fef x_refsource_MISC
- FEDORA-2020-4ef0bcc89c vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-666f3b1ac3 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-73c00eda1c vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20200430-0004/ x_refsource_CONFIRM
- [oss-security] 20210720 CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer mailing-list, x_refsource_MLIST