Vulnerability in Kernel: cfg80211: call cfg80211_leave_ocb when switching away from OCB

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001140: cfg80211: call cfg80211_leave_ocb when switching away from OCB. Affects Kernel versions < a64b6a25dd9f984ed05fade603a00e2eae787d2f. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that manages the system's core functions, including hardware, memory, and process management. It provides an interface between the hardware and the software, allowing applications to communicate with the underlying system. The cfg80211 module within the Kernel is responsible for handling wireless network configuration and management. It provides various functions and APIs for wireless drivers and applications to interact with the wireless subsystem. However, a vulnerability has been discovered in the cfg80211 module that can lead to potential security issues.

Vulnerability Detail

The vulnerability in the cfg80211 module arises when switching away from OCB (Outside Context of a BSS) mode. OCB mode allows devices to communicate directly with each other without the need for an access point. When switching away from OCB mode, the cfg80211_leave_ocb function should be called to properly clean up the OCB-related state. However, this function is not called in certain scenarios, leaving the system in an inconsistent state. An attacker could potentially exploit this vulnerability to gain unauthorized access, disrupt network communication, or execute arbitrary code. It is important to note that the actual impact and attack plausibility have not yet been proven.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the vulnerability in the Kernel's cfg80211 module can lead to potential security issues when switching away from OCB mode. It is crucial to update the Kernel to version v5.13 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages the system's core functions, including hardware, memory, and process management.

The cfg80211 module is responsible for handling wireless network configuration and management in the Kernel.

OCB (Outside Context of a BSS) mode allows devices to communicate directly with each other without the need for an access point.

The impact of this vulnerability could include unauthorized access, network disruption, or arbitrary code execution.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.13.

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