Buffer Overflow Vulnerability in wl1251_cmd_scan in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001221: wl1251: Fix possible buffer overflow in wl1251_cmd_scan. Affects Kernel versions < 40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The wl1251_cmd_scan function is responsible for handling scanning commands for the wl1251 wireless LAN driver. This driver is used for various wireless devices and allows users to connect to wireless networks. However, a buffer overflow vulnerability has been discovered in the wl1251_cmd_scan function, which could potentially be exploited by attackers to execute arbitrary code or crash the system.

Vulnerability Detail

The buffer overflow vulnerability in wl1251_cmd_scan arises from improper input validation, allowing an attacker to provide malicious input that exceeds the bounds of a buffer. This can lead to the corruption of adjacent memory and potentially enable the execution of arbitrary code. The impact of this vulnerability could range from a denial-of-service condition to remote code execution, depending on the attacker's capabilities and the system's configuration. The vulnerability has been addressed in the Linux Kernel version v5.13.3 by commit 40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can disable the affected wireless device or driver if it is not required for their system's operation. This can help mitigate the risk of exploitation until the vulnerability is patched. However, this workaround may result in the loss of wireless connectivity functionality.

Conclusion

In conclusion, a buffer overflow vulnerability has been discovered in the wl1251_cmd_scan function of the Kernel's wl1251 wireless LAN driver. This vulnerability could potentially allow attackers to execute arbitrary code or crash the system. It is crucial to update the Linux Kernel to version v5.13.3 or later to mitigate the risk. Additionally, users can consider disabling the affected wireless device or driver as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from a denial-of-service condition to remote code execution, depending on the attacker's capabilities and the system's configuration.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.13.3 by commit 40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea. It is recommended to update to this version or later to mitigate the risk.

As a temporary measure, you can disable the affected wireless device or driver if it is not required for your system's operation. However, this may result in the loss of wireless connectivity functionality.

For more information about this vulnerability, you can refer to the official GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001221.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback