Vulnerability · Published Jul 21, 2021 · Assigned by mitre
CVE-2021-37159
Medium 6.4
In plain English
A medium-severity security flaw in the bpftool 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 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.4Medium
Exploit odds (30 days)0.4%top 66.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
hso_free_net_device in drivers/net/usb/hso.c in the Linux kernel through 5.13.4 calls unregister_netdev without checking for the NETREG_REGISTERED state, leading to a use-after-free and a double free.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-doc | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | python3-perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2021-37159 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2021-37159 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2021-37159 |
| Rocky Linux:8 | kernel | 0:4.18.0-372.9.1.el8 | RLSA-2022:1988 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-372.9.1.rt7.166.el8 | RLSA-2022:1975 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-37159 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-37159 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-37159 |
Affected products (as reported)
References
- https://www.spinics.net/lists/linux-usb/msg202228.html
- [debian-lts-announce] 20211015 [SECURITY] [DLA 2785-1] linux-4.19 security update mailing-list
- [debian-lts-announce] 20211216 [SECURITY] [DLA 2843-1] linux security update mailing-list
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20210819-0003/
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a6ecfb39ba9d7316057cea823b196b734f6b18ca
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dcb713d53e2eadf42b878c12a471e74dc6ed3145
- https://bugzilla.suse.com/show_bug.cgi?id=1188601