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

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:34.966Z
- Modified: 2026-08-05T09:10:24.738Z
- Weaknesses: CWE-416
- 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: 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().

(As written by CVE List.)

## Affected

- Linux Linux: from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before 2408f491ff998d674707725eadc47d8930aced09; from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before e8e599a635066c50ac214c3e10858f1d37e03022; from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0; from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before 2f4e16e39e4f5e78248dd9e51276a83203950b36; from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before 65c72a7201704574dace708cbc96a8f367b1491d; from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e before 31db78a4923ef5e2008f2eed321811ca79e7f71b; ef810e7c3d2a8fb3bbd23726599c487c30ea747e; a0a8a11d1630cd648dc1ce86da620b4e240e0315; 6891c6fd2a500d1f39d1426765f610bdc2c2a39d; 003aa22c9619b49efe950aca3aebd1235a04940d; 6440f0ee8a1779f53526bccb9de00914daeb9094; 2586fa0007dc6b7745da14250be7e3aae706b128; and 9 more (not affected: before 4.14; from 5.4.285 up to 5.4.*; from 5.10.228 up to 5.10.*; from 5.15.169 up to 5.15.*; from 6.1.57 up to 6.1.*; from 6.5.7 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 4.14 before 5.4.285; from 5.5 before 5.10.288; from 5.11 before 5.15.169; from 5.16 before 6.1.57; from 6.2 before 6.5.7; 6.6

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/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/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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

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

---

Page: https://cve.day/CVE-2023-52530 · Whole record: https://cve.day/CVE-2023-52530.json · Rebuilt by cve.day 2026-11-25T22:58:33.168Z
