# CVE-2022-49023: wifi: cfg80211: fix buffer overflow in elem comparison

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-120
- **Published:** 2024-10-21T20:06:29.901Z
- **Modified:** 2026-08-05T08:53:30.326Z

## Who should check

- Anyone running Linux \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< f5c2ec288a865dbe3706b09bed12302e9f6d696b; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9e6b79a3cd17620d467311b30d56f2648f6880aa; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 88a6fe3707888bd1893e9741157a7035c4159ab6; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 391cb872553627bdcf236c03ee7d5adb275e37e1; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9f16b5c82a025cd4c864737409234ddc44fb166a
- Anyone running Linux 5.1

## Description

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.

## Affected and fixed versions

- Linux: \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< f5c2ec288a865dbe3706b09bed12302e9f6d696b; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9e6b79a3cd17620d467311b30d56f2648f6880aa; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 88a6fe3707888bd1893e9741157a7035c4159ab6; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 391cb872553627bdcf236c03ee7d5adb275e37e1; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9f16b5c82a025cd4c864737409234ddc44fb166a (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 9f16b5c82a025cd4c864737409234ddc44fb166a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49023. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49023.md
Affected: Linux >= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, < f5c2ec288a865dbe3706b09bed12302e9f6d696b; >= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, < 9e6b79a3cd17620d467311b30d56f2648f6880aa; >= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, < 88a6fe3707888bd1893e9741157a7035c4159ab6; >= 0b8fb8235be8be99a197e8d…
Fixed in: Linux 9e6b79a3cd17620d467311b30d56f2648f6880aa, Linux 88a6fe3707888bd1893e9741157a7035c4159ab6, Linux 391cb872553627bdcf236c03ee7d5adb275e37e1, Linux 9f16b5c82a025cd4c864737409234ddc44fb166a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49023 being exploited?

There is no confirmed exploitation: CVE-2022-49023 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49023?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49023?

Linux \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< f5c2ec288a865dbe3706b09bed12302e9f6d696b; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9e6b79a3cd17620d467311b30d56f2648f6880aa; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 88a6fe3707888bd1893e9741157a7035c4159ab6; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 391cb872553627bdcf236c03ee7d5adb275e37e1; \>= 0b8fb8235be8be99a197e8d948fc0a2df8dc261a, \< 9f16b5c82a025cd4c864737409234ddc44fb166a; Linux 5.1.

### Is there a fix for CVE-2022-49023?

Yes. Fixed in Linux 9e6b79a3cd17620d467311b30d56f2648f6880aa, Linux 88a6fe3707888bd1893e9741157a7035c4159ab6, Linux 391cb872553627bdcf236c03ee7d5adb275e37e1, Linux 9f16b5c82a025cd4c864737409234ddc44fb166a. Upgrade Linux to 9f16b5c82a025cd4c864737409234ddc44fb166a or later.

### How do I check if I'm affected by CVE-2022-49023?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f5c2ec288a865dbe3706b09bed12302e9f6d696b>
- patch: <https://git.kernel.org/stable/c/9e6b79a3cd17620d467311b30d56f2648f6880aa>
- patch: <https://git.kernel.org/stable/c/88a6fe3707888bd1893e9741157a7035c4159ab6>
- patch: <https://git.kernel.org/stable/c/391cb872553627bdcf236c03ee7d5adb275e37e1>
- patch: <https://git.kernel.org/stable/c/9f16b5c82a025cd4c864737409234ddc44fb166a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49023>

HTML: <https://flawdb.com/CVE-2022-49023> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49023>
