CVE-2023-52530

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

8.8 high EPSS 0.34%

Published 2 Mar 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-52530

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52530 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 29.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 21 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before 2408f491ff998d674707725eadc47d8930aced09
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before e8e599a635066c50ac214c3e10858f1d37e03022
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before 2f4e16e39e4f5e78248dd9e51276a83203950b36
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before 65c72a7201704574dace708cbc96a8f367b1491d
affected from fdf7cb4185b60c68e1a75e61691c4afdc15dea0e, before 31db78a4923ef5e2008f2eed321811ca79e7f71b
affected ef810e7c3d2a8fb3bbd23726599c487c30ea747e
affected a0a8a11d1630cd648dc1ce86da620b4e240e0315
affected 6891c6fd2a500d1f39d1426765f610bdc2c2a39d
affected 003aa22c9619b49efe950aca3aebd1235a04940d
affected 6440f0ee8a1779f53526bccb9de00914daeb9094
affected 2586fa0007dc6b7745da14250be7e3aae706b128
affected a9ab1b2e30e898440a22d7b1d7a5b0b7c6a8791f
affected from 3.2.95, before 3.3
affected from 3.16.50, before 3.17
affected from 3.18.82, before 3.19
affected from 4.1.47, before 4.2
affected from 4.4.99, before 4.5
affected from 4.9.63, before 4.10
affected from 4.13.14, before 4.14
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 5.4.285 up to and including 5.4.*
unaffected from 5.10.228 up to and including 5.10.*
unaffected from 5.15.169 up to and including 5.15.*
unaffected from 6.1.57 up to and including 6.1.*
unaffected from 6.5.7 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52530 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52530

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52530
trivy image --scanners vuln IMAGE | grep CVE-2023-52530

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52530 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.