Vulnerability · Published May 27, 2021 · Assigned by mitre
CVE-2021-33200
High 7.8
In plain English
A high-severity security flaw in the kernel-tools-libs-devel package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
kernel/bpf/verifier.c in the Linux kernel through 5.12.7 enforces incorrect limits for pointer arithmetic operations, aka CID-bb01a1bba579. This can be abused to perform out-of-bounds reads and writes in kernel memory, leading to local privilege escalation to root. In particular, there is a corner case where the off reg causes a masking direction change, which then results in an incorrect final aux->alu_limit.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-348.el8 | ALSA-2021:4356 |
| Debian:12 | linux | 5.10.40-1 | DEBIAN-CVE-2021-33200 |
| Debian:13 | linux | 5.10.40-1 | DEBIAN-CVE-2021-33200 |
| Debian:14 | linux | 5.10.40-1 | DEBIAN-CVE-2021-33200 |
Affected products (as reported)
References
- https://www.openwall.com/lists/oss-security/2021/05/27/1
- FEDORA-2021-0b35886add vendor-advisory
- FEDORA-2021-646098b5b8 vendor-advisory
- https://security.netapp.com/advisory/ntap-20210706-0004/
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3d0220f6861d713213b015b582e9f21e5b28d2e0
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bb01a1bba579b4b1c5566af24d95f1767859771e
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a7036191277f9fa68d92f2071ddc38c09b1e5ee5