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.
- CVSS
- 6.4Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jul 21, 2021
- In the news
- Not yet
What to do
A moderate memory corruption flaw in Debian Linux, Linux kernel, Oracle Communications Cloud Native Core Binding Support Function and 2 more. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
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 products
Get alerts for these →Timeline 2
Latest change: Nessus plugin 246090: Linux Distros Unpatched Vulnerability : CVE-2021-37159 (Nov 7, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Nov 8, 2026
Wed, Jul 21, 2021
- CVECVE-2021-37159 published (CVSS 6.4)CVE Program · 15:16 UTC
References 16
- www.oracle.com Patch /security-alerts/cpujul2022.html
- www.spinics.net Patch /lists/linux-usb/msg202228.html
- www.oracle.com Patch /security-alerts/cpujul2022.html
- www.spinics.net Patch /lists/linux-usb/msg202228.html
- bugzilla.suse.com /show_bug.cgi?id=1188601
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a6ecfb39ba9d7316057cea823b196b734f6b18ca
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dcb713d53e2eadf42b878c12a471e74dc6ed3145
- lists.debian.org /debian-lts-announce/2021/10/msg00010.html
- lists.debian.org /debian-lts-announce/2021/12/msg00012.html
- security.netapp.com /advisory/ntap-20210819-0003/
- bugzilla.suse.com /show_bug.cgi?id=1188601
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a6ecfb39ba9d7316057cea823b196b734f6b18ca
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dcb713d53e2eadf42b878c12a471e74dc6ed3145
- lists.debian.org /debian-lts-announce/2021/10/msg00010.html
- lists.debian.org /debian-lts-announce/2021/12/msg00012.html
- security.netapp.com /advisory/ntap-20210819-0003/