Menu

Star on GitHub · 3.2k

CVE-2021-47267

6.3 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: usb: fix various gadget panics on 10gbps cabling usb_assign_descriptors() is called with 5 parameters, the last 4 of which are…

Published May 21, 2024CWE-476EPSS 0.68%

Overview

CVE-2021-47267 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical description

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

usb: fix various gadget panics on 10gbps cabling

usb_assign_descriptors() is called with 5 parameters,

the last 4 of which are the usb_descriptor_header for:

full-speed (USB1.1 - 12Mbps [including USB1.0 low-speed @ 1.5Mbps),

high-speed (USB2.0 - 480Mbps),

super-speed (USB3.0 - 5Gbps),

super-speed-plus (USB3.1 - 10Gbps).

The differences between full/high/super-speed descriptors are usually

substantial (due to changes in the maximum usb block size from 64 to 512

to 1024 bytes and other differences in the specs), while the difference

between 5 and 10Gbps descriptors may be as little as nothing

(in many cases the same tuning is simply good enough).

However if a gadget driver calls usb_assign_descriptors() with

a NULL descriptor for super-speed-plus and is then used on a max 10gbps

configuration, the kernel will crash with a null pointer dereference,

when a 10gbps capable device port + cable + host port combina

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-47267?

CVE-2021-47267 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.3 (MEDIUM).

How severe is CVE-2021-47267?

This vulnerability has a CVSS 3.1 base score of 6.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

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-47267?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47267 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