CVE-2022-49942
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49942 is a vulnerability discovered in the Linux kernel's wifi/mac80211 subsystem, specifically affecting the Channel Switch Announcement (CSA) functionality in IBSS mode. The vulnerability was disclosed on June 18, 2025, and affects the Linux kernel's wireless networking components (NVD).

Technical details

The vulnerability occurs when attempting to finalize Channel Switch Announcement (CSA) in IBSS mode while in a disconnected state. The issue arises because when not connected to a channel, the BSS list is empty, causing the for loop in cfg80211getbss() to be bypassed. This results in a NULL return value at line 1424 of net/wireless/scan.c, which triggers a WARNON() assertion in ieee80211ibsscsabeacon() at line 500 of net/mac80211/ibss.c (Wiz).

Impact

When triggered, this vulnerability results in a kernel warning and potential system instability. The issue specifically affects the wireless networking functionality in IBSS (Independent Basic Service Set) mode when handling channel switching operations (Wiz).

Mitigation and workarounds

The vulnerability has been resolved by implementing a check in ieee80211ibssfinish_csa() to verify the existence of an active connection before attempting to generate the CSA beacon. This fix has been incorporated into various Linux distributions including Debian (versions bullseye, bookworm, and trixie) and Red Hat Enterprise Linux (Debian Security Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management