CVE-2021-47528
Last modified
CVE-2021-47528 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init() In cdnsp_endpoint_init(), cdnsp_ring_alloc() is assigned to pep->ring and there is a dereference of it in cdnsp_endpoint_init(), which could lead to a NULL pointer dereference on failure of cdnsp_ring_alloc(). Fix this bug by adding a check of pep->ring. This bug was found by a static analyzer. The analysis employs differential checking to identify inconsistent security operations (e.g., checks or kfrees) between two code paths and confirms that the inconsistent operations are not recovered in the current function or the callers, so they constitute bugs. Note that, as a bug found by static analysis, it can be a false positive or hard to trigger. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init() In cdnsp_endpoint_init(), cdnsp_ring_alloc() is assigned to pep->ring and there is a dereference of it in cdnsp_endpoint_init(), which could lead to a NULL pointer dereference on failure of cdnsp_ring_alloc(). Fix this bug by adding a check of pep->ring. This bug was found by a static analyzer. The analysis employs differential checking to identify inconsistent security operations (e.g., checks or kfrees) between two code paths and confirms that the inconsistent operations are not recovered in the current function or the callers, so they constitute bugs. Note that, as a bug found by static analysis, it can be a false positive or hard to trigger. Multiple researchers have cross-reviewed the bug. Builds with CONFIG_USB_CDNSP_GADGET=y show no new warnings, and our static analyzer no longer warns about this code.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.12, < 5.15.7 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47528?
How severe is CVE-2021-47528?
How do I fix CVE-2021-47528?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47522In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47523In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47524In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47525In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47526In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47527In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47529In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47530In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47531In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47532In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47533In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47534In the Linux kernel, the following vulnerability has been re…4.1
Are you affected by CVE-2021-47528?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
