Out-of-Bounds Memory Access in Linux Kernel - CVE-2022-49471

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
High
7.8

CVE-2022-49471: In the Linux kernel, the following vulnerability has been resolved: rtw89: cfo: check mac_id to avoid out-of-bounds Somehow, hardware reports incorrect mac_id and pollute memory. Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel is designed to be robust and secure, but vulnerabilities can arise due to complex interactions with hardware and software. CVE-2022-49471 specifically affects the rtw89 driver, which is used for Realtek wireless devices, highlighting a critical issue where incorrect hardware reports can lead to memory corruption.

Vulnerability Detail

CVE-2022-49471 is a vulnerability in the Linux kernel's rtw89 driver, where an incorrect mac_id reported by hardware can lead to out-of-bounds memory access. This issue arises when the driver attempts to access an array using an index that exceeds its bounds, potentially leading to memory corruption and unpredictable behavior. The specific error reported is an array-index-out-of-bounds, where an index of 188 is attempted on an array of size 64, indicating a serious flaw in input validation and error handling.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

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

Workaround

As a temporary workaround, users can avoid using the rtw89 driver until the system is updated to a patched version. Additionally, monitoring hardware reports for anomalies may help mitigate the risk until a full update can be applied.

Conclusion

CVE-2022-49471 represents a significant vulnerability in the Linux kernel's rtw89 driver, which can lead to serious memory access issues. It is crucial for users to update their systems to the latest patched versions to ensure security and stability. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49471 is a vulnerability in the Linux kernel's rtw89 driver that allows for out-of-bounds memory access due to incorrect hardware reporting.

This vulnerability can lead to memory corruption, which may cause system instability, crashes, or unauthorized access to sensitive data.

You should update your Linux kernel to version 5.18.5-1 or later to mitigate the risk associated with this vulnerability.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities. You can check your application using the Vulert playground at Vulert Scanner without needing to sign up.

Failing to address this vulnerability could result in system crashes, data loss, or exploitation by malicious actors, leading to unauthorized access to your system.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

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