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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-02)
- Published: 2024-10-21T20:06:29.901Z
- Modified: 2026-08-05T08:53:30.326Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0b8fb8235be8be99a197e8d948fc0a2df8dc261a before f5c2ec288a865dbe3706b09bed12302e9f6d696b; from 0b8fb8235be8be99a197e8d948fc0a2df8dc261a before 9e6b79a3cd17620d467311b30d56f2648f6880aa; from 0b8fb8235be8be99a197e8d948fc0a2df8dc261a before 88a6fe3707888bd1893e9741157a7035c4159ab6; from 0b8fb8235be8be99a197e8d948fc0a2df8dc261a before 391cb872553627bdcf236c03ee7d5adb275e37e1; from 0b8fb8235be8be99a197e8d948fc0a2df8dc261a before 9f16b5c82a025cd4c864737409234ddc44fb166a; 5.1 (not affected: before 5.1; from 5.4.226 up to 5.4.*; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.1 before 5.4.226; from 5.5 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49023](https://www.cve.org/CVERecord?id=CVE-2022-49023), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49023](https://nvd.nist.gov/vuln/detail/CVE-2022-49023), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49023 · Whole record: https://cve.day/CVE-2022-49023.json · Rebuilt by cve.day 2026-11-25T22:58:20.037Z
