CVE-2022-49023·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix buffer overflow in elem comparison For vendor elements, the code here assumes that 5 octets are present without checking. Since the element itself is already checked to fit, we only need to check the length.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update your Linux kernel to version 6.0.12 or later to patch a buffer overflow vulnerability in the cfg80211 wireless configuration module. This flaw affects kernel versions 5.16 through 6.0.11 and requires immediate patching to prevent potential privilege escalation attacks from local users with standard privileges.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running `uname -r` and compare it against version 6.0.12—if your version is between 5.16 and 6.0.11, you are vulnerable
- Step 2: Verify the cfg80211 module is loaded with `lsmod | grep cfg80211`—if present, the vulnerable wireless configuration component is active
- Step 3: Search system logs for memory corruption or access violation messages with `sudo dmesg | grep -i 'buffer\|overflow\|segfault'` to identify any exploitation attempts
- Step 4: After patching, confirm the update with `uname -r` and verify the new kernel version is 6.0.12 or higher, then reboot if necessary
FAQ
What is CVE-2022-49023?
CVE-2022-49023 is a buffer overflow vulnerability in the Linux kernel's cfg80211 wireless configuration subsystem where vendor element processing fails to properly validate buffer boundaries, allowing local attackers to trigger out-of-bounds memory access with high privilege escalation potential.
Is CVE-2022-49023 being actively exploited?
No, CVE-2022-49023 is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available, though the high CVSS score of 7.8 indicates it warrants immediate patching.
What versions of Kernel are affected by CVE-2022-49023?
Linux kernel versions 5.16 through 6.0.11 are vulnerable; kernel 6.0.12 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2022-49023?
Run `uname -r` to display your kernel version—if the output shows a version between 5.16 and 6.0.11 inclusive, your system is vulnerable.
Does Defensia detect CVE-2022-49023?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49023 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/391cb872553627bdcf236c03ee7d5adb275e37e1
- https://git.kernel.org/stable/c/88a6fe3707888bd1893e9741157a7035c4159ab6
- https://git.kernel.org/stable/c/9e6b79a3cd17620d467311b30d56f2648f6880aa
- https://git.kernel.org/stable/c/9f16b5c82a025cd4c864737409234ddc44fb166a
- https://git.kernel.org/stable/c/f5c2ec288a865dbe3706b09bed12302e9f6d696b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49023. Free for 1 server.
Get started free