# CVE-2021-37159: hsofreenetdevice in drivers/net/usb/hso.c in the Linux kernel through 5.13.4 calls unregisternetdev without checking for the NETREGREGISTER…

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2021-07-21T00:00:00.000Z
- Modified: 2026-10-08T22:17:11.047Z
- Weaknesses: CWE-415, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: up to 5.13.4
- debian debian_linux: 9.0
- oracle communications_cloud_native_core_binding_support_function: 22.1.3
- oracle communications_cloud_native_core_network_exposure_function: 22.1.1
- oracle communications_cloud_native_core_policy: 22.2.0

## Every score

- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.spinics.net/lists/linux-usb/msg202228.html> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210819-0003/> (third-party-advisory)
- <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>

## Sources

- CVE List: [CVE-2021-37159](https://www.cve.org/CVERecord?id=CVE-2021-37159), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2021-37159](https://nvd.nist.gov/vuln/detail/CVE-2021-37159), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-37159 · Whole record: https://cve.day/CVE-2021-37159.json · Rebuilt by cve.day 2026-11-25T22:58:02.814Z
