CVE-2022-50279
Linux Kernel vulnerability analysis and mitigation

Overview

A global-out-of-bounds vulnerability was discovered in the Linux kernel's rtlwifi driver, specifically in the _rtl8812ae_phy_set_txpower_limit() function. The vulnerability was identified and tracked as CVE-2022-50279. The issue affects the Linux kernel's WiFi subsystem, particularly the RTL8812AE wireless network adapter driver (NVD).

Technical details

The vulnerability stems from an incorrect comparison order of 'prate_section' in the _rtl8812ae_phy_set_txpower_limit() function. The _rtl8812ae_eq_n_byte() function compares the first n bytes of two strings from tail to head, which leads to an out-of-bounds access when 'prate_section' is 'HT'. The issue was introduced when the driver was moved from staging to the regular tree and the txpower limit function was added during the driver config phase (NVD).

Impact

When exploited, this vulnerability can cause a global-out-of-bounds read of size 1, potentially leading to a system crash or denial of service. The issue was detected by KASAN (Kernel Address Sanitizer) during system operation (NVD).

Mitigation and workarounds

The vulnerability was fixed by removing the _rtl8812ae_eq_n_byte() function and replacing it with strcmp(). While adjusting the comparison order of 'prate_section' could have been an alternative fix, this approach was not chosen as it might cause the value of 'rate_section' to fall outside the expected range of 0 to 5 (NVD).

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-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

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