wifi: mac80211: fix potential key use-after-free
Summary
| CVE | CVE-2023-52530 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-03-02 22:15:48 UTC |
| Updated | 2026-08-04 10:18:31 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e 2408f491ff998d674707725eadc47d8930aced09 git | Not specified |
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e e8e599a635066c50ac214c3e10858f1d37e03022 git | Not specified |
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 git | Not specified |
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e 2f4e16e39e4f5e78248dd9e51276a83203950b36 git | Not specified |
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e 65c72a7201704574dace708cbc96a8f367b1491d git | Not specified |
| CNA | Linux | Linux | affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e 31db78a4923ef5e2008f2eed321811ca79e7f71b git | Not specified |
| CNA | Linux | Linux | affected ef810e7c3d2a8fb3bbd23726599c487c30ea747e git | Not specified |
| CNA | Linux | Linux | affected a0a8a11d1630cd648dc1ce86da620b4e240e0315 git | Not specified |
| CNA | Linux | Linux | affected 6891c6fd2a500d1f39d1426765f610bdc2c2a39d git | Not specified |
| CNA | Linux | Linux | affected 003aa22c9619b49efe950aca3aebd1235a04940d git | Not specified |
| CNA | Linux | Linux | affected 6440f0ee8a1779f53526bccb9de00914daeb9094 git | Not specified |
| CNA | Linux | Linux | affected 2586fa0007dc6b7745da14250be7e3aae706b128 git | Not specified |
| CNA | Linux | Linux | affected a9ab1b2e30e898440a22d7b1d7a5b0b7c6a8791f git | Not specified |
| CNA | Linux | Linux | affected 3.2.95 3.3 semver | Not specified |
| CNA | Linux | Linux | affected 3.16.50 3.17 semver | Not specified |
| CNA | Linux | Linux | affected 3.18.82 3.19 semver | Not specified |
| CNA | Linux | Linux | affected 4.1.47 4.2 semver | Not specified |
| CNA | Linux | Linux | affected 4.4.99 4.5 semver | Not specified |
| CNA | Linux | Linux | affected 4.9.63 4.10 semver | Not specified |
| CNA | Linux | Linux | affected 4.13.14 4.14 semver | Not specified |
| CNA | Linux | Linux | affected 4.14 | Not specified |
| CNA | Linux | Linux | unaffected 4.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.285 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.228 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.169 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.57 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.5.7 6.5.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00002.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 755966 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0857-1)
- 755988 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0975-1)
- 756004 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0926-1)
- 756005 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0925-1)
- 756010 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0977-1)