Menu

Star on GitHub · 3.2k

CVE-2021-47269

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: ep0: fix NULL pointer exception There is no validation of the index from dwc3_wIndex_to_dep() and we might be referr…

Published May 21, 2024CWE-476EPSS 0.26%

Overview

CVE-2021-47269 is a medium-severity vulnerability. It was published on May 21, 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:

usb: dwc3: ep0: fix NULL pointer exception

There is no validation of the index from dwc3_wIndex_to_dep() and we might

be referring a non-existing ep and trigger a NULL pointer exception. In

certain configurations we might use fewer eps and the index might wrongly

indicate a larger ep index than existing.

By adding this validation from the patch we can actually report a wrong

index back to the caller.

In our usecase we are using a composite device on an older kernel, but

upstream might use this fix also. Unfortunately, I cannot describe the

hardware for others to reproduce the issue as it is a proprietary

implementation.

[ 82.958261] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a4

[ 82.966891] Mem abort info:

[ 82.969663] ESR = 0x96000006

[ 82.972703] Exception class = DABT (current EL), IL = 32 bits

[ 82.978603] SET = 0, FnV = 0

[ 82.981642] EA = 0, S1PTW =

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

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

How severe is CVE-2021-47269?

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

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

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