CVE-2021-47279·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: usb: misc: brcmstb-usb-pinmap: check return value after calling platform_get_resource() It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 5.12.11
- Published
- 2024-05-21
Affected versions
From: 5.11
Until: 5.12.11
Fixed in: 5.12.11
How to fix this CVE
Update your Linux kernel to version 5.12.11 or later to address a null pointer dereference vulnerability in the USB BRCM STB pinmap driver. The vulnerability occurs when the platform_get_resource() function fails to allocate memory and returns NULL without proper validation, potentially causing kernel crashes under specific hardware conditions. Apply this security update promptly to prevent denial-of-service conditions on affected systems.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — verify it is 5.12.11 or later
- Confirm if the brcmstb-usb-pinmap driver is loaded: lsmod | grep brcmstb_usb_pinmap
- Review kernel logs for USB resource allocation failures: sudo dmesg | grep -i 'platform_get_resource\|usb\|pinmap'
- After updating, reboot and verify the new kernel version: uname -r
FAQ
What is CVE-2021-47279?
This CVE addresses a missing null-pointer validation in the BRCM STB USB pinmap driver, where the platform_get_resource() function could return NULL if resource allocation fails. Without proper checking, this leads to a kernel null pointer dereference and potential system denial-of-service.
Is CVE-2021-47279 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and has no public exploits available. It is a low-risk denial-of-service issue affecting specific hardware configurations.
What versions of Kernel are affected by CVE-2021-47279?
Linux kernel versions 5.11 through 5.12.10 are affected. The vulnerability was patched in version 5.12.11 and later stable releases.
How do I check if my server is vulnerable to CVE-2021-47279?
Run: uname -r — if your kernel version is between 5.11 and 5.12.10 (inclusive), you are vulnerable. Cross-check with: cat /proc/version
Does Defensia detect CVE-2021-47279?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47279 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47279. Free for 1 server.
Get started free