CVE-2021-47347·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wl1251: Fix possible buffer overflow in wl1251_cmd_scan Function wl1251_cmd_scan calls memcpy without checking the length. Harden by checking the length is within the maximum allowed size.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.13.3
- Published
- 2024-05-21
Affected versions
From: 5.13
Until: 5.13.3
Fixed in: 5.13.3
How to fix this CVE
Update the Linux kernel to version 5.13.3 or later to patch a buffer overflow vulnerability in the wl1251 wireless driver's scan command handler. The vulnerability allows authenticated local attackers to corrupt kernel memory by triggering an unchecked memcpy operation with oversized parameters. Apply the security update immediately on systems using affected kernel versions.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with: uname -r — if it shows 5.13.0 through 5.13.2, you are vulnerable
- Step 2: Verify wl1251 driver is loaded with: lsmod | grep wl1251 — if present, the vulnerable component is active
- Step 3: Search system logs for scan command errors: grep -i 'wl1251.*scan\|buffer.*overflow' /var/log/kern.log /var/log/messages
- Step 4: Confirm patch installation by running uname -r again after update — should show 5.13.3 or higher
FAQ
What is CVE-2021-47347?
This is a buffer overflow vulnerability in the Linux kernel's wl1251 wireless driver where the scan command handler fails to validate input length before copying data, allowing memory corruption by local authenticated users.
Is CVE-2021-47347 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2021-47347?
Linux kernel versions 5.13.0 through 5.13.2 are vulnerable; the issue was fixed in 5.13.3 and subsequent releases.
How do I check if my server is vulnerable to CVE-2021-47347?
Run 'uname -r' to check your kernel version — if it displays 5.13.0, 5.13.1, or 5.13.2, and 'lsmod | grep wl1251' shows the driver is loaded, your system is vulnerable.
Does Defensia detect CVE-2021-47347?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47347 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0f6c0488368c9ac1aa685821916fadba32f5d1ef
- https://git.kernel.org/stable/c/115103f6e3f1c26c473766c16439c7c8b235529a
- https://git.kernel.org/stable/c/302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a
- https://git.kernel.org/stable/c/40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea
- https://git.kernel.org/stable/c/57ad99ae3c6738ba87bad259bb57c641ca68ebf6
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47347. Free for 1 server.
Get started free