Menu

Star on GitHub · 3.2k

CVE-2021-47173

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: misc/uss720: fix memory leak in uss720_probe uss720_probe forgets to decrease the refcount of usbdev in uss720_probe.

Published Mar 25, 2024CWE-401EPSS 0.23%

Overview

CVE-2021-47173 is a medium-severity vulnerability. It was published on March 25, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

misc/uss720: fix memory leak in uss720_probe

uss720_probe forgets to decrease the refcount of usbdev in uss720_probe.

Fix this by decreasing the refcount of usbdev by usb_put_dev.

BUG: memory leak

unreferenced object 0xffff888101113800 (size 2048):

comm "kworker/0:1", pid 7, jiffies 4294956777 (age 28.870s)

hex dump (first 32 bytes):

ff ff ff ff 31 00 00 00 00 00 00 00 00 00 00 00 ....1...........

00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 ................

backtrace:

[<ffffffff82b8e822>] kmalloc include/linux/slab.h:554 [inline]

[<ffffffff82b8e822>] kzalloc include/linux/slab.h:684 [inline]

[<ffffffff82b8e822>] usb_alloc_dev+0x32/0x450 drivers/usb/core/usb.c:582

[<ffffffff82b98441>] hub_port_connect drivers/usb/core/hub.c:5129 [inline]

[<ffffffff82b98441>] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline]

[<ffffffff82b98441>] port_event drivers/usb/core/hub.c:5

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47173?

CVE-2021-47173 is a medium-severity vulnerability. It was published on March 25, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47173?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47173?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47173?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47173 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all