Skip to content
OpenAdvisories
Unscored CVE-2021-37159 EUVD-2021-23733GHSA-jh5h-88qq-m547

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_REG…

Published Jul 21, 2021 · Updated Oct 8, 2026 · Assigned by mitre

Package: kernel Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fde-5.15 Package: linux-azure-fips Package: linux-bluefield Package: linux-dell300x Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-edge Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-intel-iot-realtime Package: linux-kvm Package: linux-lts-xenial Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.8 Package: linux-snapdragon Package: linux-vmware Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.14.6-1 —
Debian 13 linux 5.14.6-1 —
Debian 12 linux 5.14.6-1 —
Debian 9 linux 4.9.290-1 DLA-2843-1
Debian 9 linux-4.19 4.19.208-1~deb9u1 DLA-2785-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-91.102 USN-5163-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1060.63 USN-5163-1
Ubuntu 20.04 LTS linux-aws-5.11 +1 5.11.0-1019.20~20.04.1 USN-5092-2, USN-5092-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1064.67 USN-5163-1
Ubuntu 20.04 LTS linux-azure-5.11 5.11.0-1017.18~20.04.1 USN-5092-2
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1022.25 USN-5163-1
Ubuntu 20.04 LTS linux-gcp +1 5.4.0-1058.62 USN-5163-1
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1020.22~20.04.1 —
Ubuntu 20.04 LTS linux-gke 5.4.0-1056.59 USN-5163-1
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1027.28 USN-5163-1
Ubuntu 20.04 LTS linux-hwe-5.11 5.11.0-37.41~20.04.2 USN-5092-2
Ubuntu 20.04 LTS linux-ibm 5.4.0-1008.9 USN-5163-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1050.52 USN-5163-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1050.52 USN-5115-1
Ubuntu 20.04 LTS linux-oem-5.13 5.13.0-1014.18 USN-5096-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1047.52 USN-5163-1
Ubuntu 20.04 LTS linux-riscv +8 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.11 5.11.0-1020.21~20.04.1 —
Ubuntu 18.04 LTS linux 4.15.0-163.171 USN-5164-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1116.123 USN-5164-1
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1060.63~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1127.140 USN-5164-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1064.67~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1031.36 USN-5164-1
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1112.126 USN-5164-1
Ubuntu 18.04 LTS linux-gcp-5.4 +1 5.4.0-1058.62~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1056.59~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1027.28~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-91.102~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-kvm 4.15.0-1103.105 USN-5164-1
Ubuntu 18.04 LTS linux-oracle 4.15.0-1084.92 USN-5164-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1047.52~18.04.1 USN-5163-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1099.106 USN-5164-1
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1116.125 USN-5164-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1037.43 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2057.59 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2039.43 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1073.82 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-gcp-fips 4.15.0-2022.24 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1073.79 —
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 5.15.0-1114.123~20.04.1 —
Ubuntu Pro 16.04 LTS linux 4.4.0-223.256 USN-5361-1
Ubuntu Pro 16.04 LTS linux-aws 4.4.0-1139.153 USN-5361-1
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1116.123~16.04.1 USN-5164-1
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1127.140~16.04.1 USN-5164-1
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1112.126~16.04.1 USN-5164-1
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-163.171~16.04.1 USN-5164-1
Ubuntu Pro 16.04 LTS linux-kvm 4.4.0-1104.113 USN-5361-1
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1084.92~16.04.1 USN-5164-1
Ubuntu Pro 14.04 LTS linux 3.13.0-199.250 USN-6971-1
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1103.108 USN-5361-1
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1127.140~14.04.1 USN-5164-1
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-223.256~14.04.1 USN-5361-1
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-372.9.1.rt7.166.el8 RHSA-2022:1975
RHEL 8 perf +26 4.18.0-372.9.1.el8 RHSA-2022:1988

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 perf +19 4.18.0-372.9.1.el8 ALSA-2022:1988

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-372.9.1.el8 RLSA-2022:1988
Rocky Linux 8 kernel-rt 4.18.0-372.9.1.rt7.166.el8 RLSA-2022:1975
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-59.34.1 SUSE-SU-2021:3675-1
SLES 15 SP3 kernel-azure +2 5.3.18-38.31.1 SUSE-SU-2021:3806-1
SLES 15 SP3 kernel-default-base 5.3.18-59.34.1.18.21.1 SUSE-SU-2021:3675-1
SLES 15 SP2 kernel-azure +2 5.3.18-18.75.1 SUSE-SU-2021:3807-1
SLES 15 SP2 kernel-default-base 5.3.18-24.96.1.9.44.1 SUSE-SU-2021:3933-1
SLES 15 SP2 kernel-docs +5 5.3.18-24.96.1 SUSE-SU-2021:3933-1
SLES 15 SP1 kernel-docs +4 4.12.14-197.102.2 SUSE-SU-2021:3876-1
SLES 15 SP1 kernel-obs-build 4.12.14-197.102.1 SUSE-SU-2021:3876-1
SLES 15 kernel-docs +1 4.12.14-150.78.2 SUSE-SU-2021:3969-1
SLES 15 kernel-syms +4 4.12.14-150.78.1 SUSE-SU-2021:3969-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.80.1 SUSE-SU-2021:3848-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.98.1 SUSE-SU-2025:0834-1, SUSE-SU-2021:3748-1
Show 27 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 kernel-syms +2 4.12.14-95.83.2 SUSE-SU-2021:3972-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.150.1 SUSE-SU-2021:3935-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_41 1-4.3.1 SUSE-SU-2021:3935-1
SLES 12 SP2 kernel-syms +2 4.4.121-92.161.1 SUSE-SU-2021:3929-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-108.132.1 SUSE-SU-2021:14849-1
SLES for SAP 15 SP1 kernel-docs +3 4.12.14-197.102.2 SUSE-SU-2021:3876-1
SLES for SAP 15 SP1 kernel-obs-build 4.12.14-197.102.1 SUSE-SU-2021:3876-1
SLES for SAP 15 kernel-docs +1 4.12.14-150.78.2 SUSE-SU-2021:3969-1
SLES for SAP 15 kernel-syms +3 4.12.14-150.78.1 SUSE-SU-2021:3969-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.80.1 SUSE-SU-2021:3848-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.98.1 SUSE-SU-2021:3748-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.83.2 SUSE-SU-2021:3972-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.150.1 SUSE-SU-2021:3935-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_41 1-4.3.1 SUSE-SU-2021:3935-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.65.1 SUSE-SU-2021:3723-1
SLE Micro 5.1 kernel-default 5.3.18-59.34.1 SUSE-SU-2021:3675-1
SLE Micro 5.1 kernel-default-base 5.3.18-59.34.1.18.21.1 SUSE-SU-2021:3675-1
SLE Micro 5.0 kernel-default 5.3.18-24.96.1 SUSE-SU-2021:3933-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.96.1.9.44.1 SUSE-SU-2021:3933-1
SLE Micro 5.0 kernel-rt 5.3.18-62.2 SUSE-SU-2021:3978-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.34.1 SUSE-SU-2021:3675-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_9 1-7.3.1 SUSE-SU-2021:3675-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.96.1 SUSE-SU-2021:3933-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_22 1-5.3.1 SUSE-SU-2021:3933-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.102.2 SUSE-SU-2021:3876-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_27 1-3.3.1 SUSE-SU-2021:3876-1
SLE Live Patching 15 kernel-default 4.12.14-150.78.1 SUSE-SU-2021:3969-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_26 1-1.3.1 SUSE-SU-2021:3969-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.98.1 SUSE-SU-2025:0834-1, SUSE-SU-2021:3748-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_25 1-8.7.1 SUSE-SU-2021:3748-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_66 1-8.3.1 SUSE-SU-2025:0834-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.83.2 SUSE-SU-2021:3972-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_23 1-6.3.1 SUSE-SU-2021:3972-1
SLE HPC 15 SP1 kernel-docs +3 4.12.14-197.102.2 SUSE-SU-2021:3876-1
SLE HPC 15 SP1 kernel-obs-build 4.12.14-197.102.1 SUSE-SU-2021:3876-1
SLE HPC 15 kernel-docs +1 4.12.14-150.78.2 SUSE-SU-2021:3969-1
SLE HPC 15 kernel-syms +3 4.12.14-150.78.1 SUSE-SU-2021:3969-1
SUSE Real Time Module 15 SP2 kernel-rt 5.3.18-62.2 SUSE-SU-2021:3978-1
SUSE Real Time Module 15 SP2 kernel-rt_debug +1 5.3.18-62.3 SUSE-SU-2021:3978-1
SUSE Real Time Module 15 SP2 kernel-syms-rt 5.3.18-62.1 SUSE-SU-2021:3978-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.83.2 SUSE-SU-2021:3972-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.150.1 SUSE-SU-2021:3935-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_41 1-4.3.1 SUSE-SU-2021:3935-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.83.2 SUSE-SU-2021:3972-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.150.1 SUSE-SU-2021:3935-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_41 1-4.3.1 SUSE-SU-2021:3935-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.150.1 SUSE-SU-2021:3935-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_41 1-4.3.1 SUSE-SU-2021:3935-1
SUSE Enterprise Storage 6 kernel-docs +3 4.12.14-197.102.2 SUSE-SU-2021:3876-1
SUSE Enterprise Storage 6 kernel-obs-build 4.12.14-197.102.1 SUSE-SU-2021:3876-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 dtb-aarch64 +7 5.3.18-59.34.1 openSUSE-SU-2021:3675-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-38.31.1 openSUSE-SU-2021:3806-1
openSUSE Leap 15.3 kernel-debug +4 4.12.14-197.102.2 openSUSE-SU-2021:3876-1, openSUSE-SU-2021:3675-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-59.34.1.18.21.1 openSUSE-SU-2021:3675-1
openSUSE Leap 15.2 kernel-default-base 5.3.18-lp152.106.1.lp152.8.52.1 openSUSE-SU-2021:1501-1
openSUSE Leap 15.2 kernel-docs +8 5.3.18-lp152.106.1 openSUSE-SU-2021:1501-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.252-195.481 1.0-0.amzn2 ALAS2-2021-1719
Amazon Linux 2 perf +8 4.14.252-195.481.amzn2 ALAS2-2021-1719

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.15.2.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-372.9.1.el8 ELSA-2022-1988
Oracle Linux 7 kernel-uek +4 5.4.17-2102.206.1.el8uek ELSA-2021-9474
Oracle Linux 7 kernel-uek-container +1 5.4.17-2102.206.1.el8 ELSA-2021-9475
Oracle Linux 7 perf +3 5.4.17-2102.206.1.el7uek ELSA-2021-9474

Advisories 40

References