CVE-2021-37159

Aliases:UBUNTU-CVE-2021-37159DEBIAN-CVE-2021-37159
Modified
Published: 21 Jul 2021, 00:00
Last modified:04 Aug 2024, 01:16

Vulnerability Summary

Overall Risk (default)
medium
26/100
CVSS Score
6.4 MEDIUM
v3.1 (nvd)
EPSS Score
0.39% LOW
0% probability +0.36%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Jul 2021, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 01:16
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.4CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 0.39% Percentile: 33%

Techniques & Countermeasures

  • CWE-415Double Free

    The product calls free() twice on the same memory address.

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • debianlinux

    < 5.10.70-1 | < 5.14.6-1 | < 5.14.6-1 | < 5.14.6-1

  • ubuntulinux

    < 3.13.0-199.250 | < 4.4.0-223.256 | < 4.15.0-163.171 | < 5.4.0-91.102

  • ubuntulinux-aws

    < 4.4.0-1103.108 | < 4.4.0-1139.153 | < 4.15.0-1116.123 | < 5.4.0-1060.63

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    < 5.11.0-1019.20~20.04.1

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1060.63~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2057.59 | all | < 5.4.0-1069.73+fips2

  • ubuntulinux-aws-hwe

    < 4.15.0-1116.123~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1127.140~14.04.1 | < 4.15.0-1127.140~16.04.1 | all | < 5.4.0-1064.67

  • ubuntulinux-azure-4.15

    < 4.15.0-1127.140

  • ubuntulinux-azure-5.11

    < 5.11.0-1017.18~20.04.1

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1064.67~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde-5.15

    < 5.15.0-1114.123~20.04.1

  • ubuntulinux-azure-fips

    < 4.15.0-2039.43 | all | < 5.4.0-1073.76+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1022.25

  • ubuntulinux-dell300x

    < 4.15.0-1031.36

  • ubuntulinux-fips

    < 4.4.0-1073.79 | all | < 4.15.0-1073.82 | < 5.4.0-1037.43

  • ubuntulinux-gcp

    < 4.15.0-1112.126~16.04.1 | all | < 5.4.0-1058.62

  • ubuntulinux-gcp-4.15

    < 4.15.0-1112.126

  • ubuntulinux-gcp-5.11

    < 5.11.0-1020.22~20.04.1

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1058.62~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-edge

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2022.24 | all | < 5.4.0-1067.71~20.04.1

  • ubuntulinux-gke

    < 5.4.0-1056.59

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1056.59~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1027.28

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1027.28~18.04.1

  • ubuntulinux-hwe

    < 4.15.0-163.171~16.04.1 | all

  • ubuntulinux-hwe-5.11

    < 5.11.0-37.41~20.04.2

  • ubuntulinux-hwe-5.4

    < 5.4.0-91.102~18.04.1

  • ubuntulinux-hwe-5.8

    all

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-ibm

    < 5.4.0-1008.9

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    < 4.4.0-1104.113 | < 4.15.0-1103.105 | < 5.4.0-1050.52

  • ubuntulinux-lts-xenial

    < 4.4.0-223.256~14.04.1

  • ubuntulinux-oem

    all

  • ubuntulinux-oem-5.10

    < 5.10.0-1050.52

  • ubuntulinux-oem-5.13

    < 5.13.0-1014.18

  • ubuntulinux-oem-5.6

    all

  • ubuntulinux-oracle

    < 4.15.0-1084.92~16.04.1 | < 4.15.0-1084.92 | < 5.4.0-1058.62

  • ubuntulinux-oracle-5.0

    all

Showing first 50 affected entries in server-rendered view.

References (20)