# CVE-2023-52530: wifi: mac80211: fix potential key use-after-free

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-03-02T21:52:34.966Z
- **Modified:** 2026-08-05T09:10:24.738Z

## Who should check

- Anyone running Linux \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2408f491ff998d674707725eadc47d8930aced09; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8e599a635066c50ac214c3e10858f1d37e03022; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2f4e16e39e4f5e78248dd9e51276a83203950b36; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 65c72a7201704574dace708cbc96a8f367b1491d; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 31db78a4923ef5e2008f2eed321811ca79e7f71b; ef810e7c3d2a8fb3bbd23726599c487c30ea747e; a0a8a11d1630cd648dc1ce86da620b4e240e0315; 6891c6fd2a500d1f39d1426765f610bdc2c2a39d; 003aa22c9619b49efe950aca3aebd1235a04940d; …
- Anyone running Linux 4.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: fix potential key use-after-free

When ieee80211\_key\_link() is called by ieee80211\_gtk\_rekey\_add()
but returns 0 due to KRACK protection (identical key reinstall),
ieee80211\_gtk\_rekey\_add() will still return a pointer into the
key, in a potential use-after-free. This normally doesn't happen
since it's only called by iwlwifi in case of WoWLAN rekey offload
which has its own KRACK protection, but still better to fix, do
that by returning an error code and converting that to success on
the cfg80211 boundary only, leaving the error for bad callers of
ieee80211\_gtk\_rekey\_add().

## Affected and fixed versions

- Linux: \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2408f491ff998d674707725eadc47d8930aced09; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8e599a635066c50ac214c3e10858f1d37e03022; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2f4e16e39e4f5e78248dd9e51276a83203950b36; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 65c72a7201704574dace708cbc96a8f367b1491d; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 31db78a4923ef5e2008f2eed321811ca79e7f71b; ef810e7c3d2a8fb3bbd23726599c487c30ea747e; a0a8a11d1630cd648dc1ce86da620b4e240e0315; 6891c6fd2a500d1f39d1426765f610bdc2c2a39d; 003aa22c9619b49efe950aca3aebd1235a04940d; … (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52530.md
Affected: Linux >= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, < 2408f491ff998d674707725eadc47d8930aced09; >= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, < e8e599a635066c50ac214c3e10858f1d37e03022; >= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, < e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0; >= fdf7cb4185b60c68e1a75e6…
Fixed in: Linux 2408f491ff998d674707725eadc47d8930aced09, Linux 2f4e16e39e4f5e78248dd9e51276a83203950b36, Linux 65c72a7201704574dace708cbc96a8f367b1491d, Linux 31db78a4923ef5e2008f2eed321811ca79e7f71b

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-2023-52530 being exploited?

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

### How serious is CVE-2023-52530?

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

### Which versions are affected by CVE-2023-52530?

Linux \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2408f491ff998d674707725eadc47d8930aced09; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8e599a635066c50ac214c3e10858f1d37e03022; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 2f4e16e39e4f5e78248dd9e51276a83203950b36; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 65c72a7201704574dace708cbc96a8f367b1491d; \>= fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, \< 31db78a4923ef5e2008f2eed321811ca79e7f71b; ef810e7c3d2a8fb3bbd23726599c487c30ea747e; a0a8a11d1630cd648dc1ce86da620b4e240e0315; 6891c6fd2a500d1f39d1426765f610bdc2c2a39d; 003aa22c9619b49efe950aca3aebd1235a04940d; …; Linux 4.14.

### Is there a fix for CVE-2023-52530?

Yes. Fixed in Linux 2408f491ff998d674707725eadc47d8930aced09, Linux 2f4e16e39e4f5e78248dd9e51276a83203950b36, Linux 65c72a7201704574dace708cbc96a8f367b1491d, Linux 31db78a4923ef5e2008f2eed321811ca79e7f71b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52530?

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/2408f491ff998d674707725eadc47d8930aced09>
- patch: <https://git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022>
- patch: <https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0>
- patch: <https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36>
- patch: <https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d>
- patch: <https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## 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-2023-52530>

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