CVE-2022-42721: wifi: cfg80211: avoid nontransmitted BSS list corruption

:linux_kernel: Updated 02 Oct 2025

Summary

01/01/2023
Yes i
Critical
Not published

CVE-2022-42721: In cfg80211_add_nontrans_list of scan.c, there is a possible way to corrupt a list due to a logic error in the code. Affects :linux_kernel: versions >= :0, < :2023-01-05. Fixed in :2023-01-05. How to fix ↓

Also tracked for

The same CVE-2022-42721 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

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 package under scrutiny is the Linux Kernel, specifically the wifi component. The wifi component is responsible for managing wireless network connections on devices. It provides functionality for scanning and connecting to wireless networks. The vulnerability affects the cfg80211 module within the wifi component.

Vulnerability Detail

The vulnerability, identified as CVE-2022-42721, resides in the cfg80211_add_nontrans_list function of the scan.c file. Due to a logic error in the code, it is possible to corrupt a list, leading to potential remote code execution. Exploitation of this vulnerability does not require any additional execution privileges or user interaction. The impact of successful exploitation could be severe, allowing an attacker to execute arbitrary code on the affected system.

How To Fix

Minimum fixed version

:2023-01-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the wifi component of the Linux Kernel is vulnerable to a logic error in the cfg80211 module, which could lead to remote code execution. It is crucial to update to a version of the Linux Kernel that includes the necessary fixes released on January 5, 2023. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for :linux_kernel: →

Share this vulnerability

FAQ

The impact of this vulnerability is severe, as it allows for potential remote code execution on the affected system. An attacker could execute arbitrary code without requiring any additional execution privileges or user interaction.

No, user interaction is not needed for exploitation of this vulnerability.

The vulnerability affects the cfg80211 module within the wifi component of the Linux Kernel.

No, there are no known workarounds for this vulnerability. It is recommended to update to a version of the Linux Kernel that includes the necessary fixes.

Related vulnerabilities

Recent vulnerabilities recorded for :linux_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

Minimum fixed version

:2023-01-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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