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-1001110: cfg80211: call cfg80211_leave_ocb when switching away from OCB. Affects Kernel versions < 24e2441b102db48bf8eec1f6b789db49b5e86adb. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The cfg80211 module within the Kernel is responsible for handling wireless network configuration and management. It provides APIs for wireless drivers and supports various wireless protocols.

However, a vulnerability has been identified in the cfg80211 module that can be exploited when switching away from OCB (Outside Context of a BSS) mode. OCB is a wireless mode that allows devices to communicate directly with each other without the need for an access point. The vulnerability arises from a failure to call the cfg80211_leave_ocb function when switching away from OCB mode, potentially leaving the system in an inconsistent state and leading to security issues.

Vulnerability Detail

The vulnerability in the cfg80211 module occurs when switching away from OCB mode without properly invoking the cfg80211_leave_ocb function. This oversight can result in a variety of security issues, although the exact impact and attack vectors have not been proven. An attacker may be able to exploit this vulnerability to gain unauthorized access, execute arbitrary code, or disrupt wireless network functionality. It is crucial to address this vulnerability promptly to mitigate potential risks and maintain the security of the system.

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 →

Conclusion

The vulnerability in the cfg80211 module of the Kernel, which arises when switching away from OCB mode without invoking the cfg80211_leave_ocb function, can lead to potential security risks. To mitigate these risks, it is crucial to update the Linux Kernel to version v4.19.196 or later, which includes the necessary fix. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The cfg80211 module is a component of the Linux Kernel that handles wireless network configuration and management. It provides APIs for wireless drivers and supports various wireless protocols.

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

The exact risks depend on the specific attack vectors that may be discovered in the future. However, potential risks include unauthorized access, execution of arbitrary code, and disruption of wireless network functionality.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.196 or later. This update includes the necessary fix for the cfg80211 module.

No specific workaround has been provided for this vulnerability. It is essential to update the Kernel to the patched version to address the issue effectively.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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