wifi: mac80211: fix potential key use-after-free
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.2.95 to before 3.3; 3.16.50 to before 3.17; 3.18.82 to before 3.19; 4.1.47 to before 4.2; 4.4.99 to before 4.5; 4.9.63 to before 4.10; 4.13.14 to before 4.14 | 3.3, 3.17, 3.19, 4.2, 4.5, 4.10, 4.14 | Patch available | CNA |
| Linux | Linux | 4.14 and later | 5.4.285, 5.10.228, 5.15.169, 6.1.57, 6.5.7, 6.6 | Patch available | CNA |
- Linux VendorLinux Affected 3.2.95 to before 3.3; 3.16.50 to before 3.17; 3.18.82 to before 3.19; 4.1.47 to before 4.2; 4.4.99 to before 4.5; 4.9.63 to before 4.10; 4.13.14 to before 4.14 Fixed in 3.3, 3.17, 3.19, 4.2, 4.5, 4.10, 4.14 Patch available CNA
- Linux VendorLinux Affected 4.14 and later Fixed in 5.4.285, 5.10.228, 5.15.169, 6.1.57, 6.5.7, 6.6 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14 to before 5.4.285; 5.5 to before 5.10.288; 5.11 to before 5.15.169; 5.16 to before 6.1.57; 6.2 to before 6.5.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* | 6.6 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* | 6.6 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* | 6.6 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* | 6.6 rc4 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14 to before 5.4.285; 5.5 to before 5.10.288; 5.11 to before 5.15.169; 5.16 to before 6.1.57; 6.2 to before 6.5.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* Versions 6.6 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* Versions 6.6 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* Versions 6.6 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* Versions 6.6 rc4 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.3, 3.17, 3.19, 4.2, 4.5, 4.10, 4.14
- Fix · CNA Linux (Linux) Fixed in 5.4.285, 5.10.228, 5.15.169, 6.1.57, 6.5.7, 6.6
Red Hat 4 advisories
- RHSA-2024:5101 Released 2024-08-08 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.16.1.el8_10, kernel-4.18.0-553.16.1.el8_10, kernel-abi-stablelists-4.18.0-553.16.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.16.1.el8_10
- RHSA-2024:5102 Released 2024-08-08 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-4.18.0-553.16.1.rt7.357.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-4.18.0-553.16.1.rt7.357.el8_10 +7
- RHSA-2024:4740 Released 2024-07-23 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.64.1.el8_8
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.64.1.el8_8, kernel-4.18.0-477.64.1.el8_8, kernel-abi-stablelists-4.18.0-477.64.1.el8_8 +19
Show 1 more Red Hat advisories
- RHSA-2024:3859 Released 2024-06-12 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.107.1.el8_6, kernel-4.18.0-372.107.1.el8_6, kernel-abi-stablelists-4.18.0-372.107.1.el8_6 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.107.1.el8_6, kernel-4.18.0-372.107.1.el8_6, kernel-abi-stablelists-4.18.0-372.107.1.el8_6 +19
- Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.107.1.el8_6, kernel-4.18.0-372.107.1.el8_6, kernel-abi-stablelists-4.18.0-372.107.1.el8_6 +14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:4740 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:5101 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2024:3859 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.6) | Fixed | RHSA-2024:3859 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.8) | Fixed | RHSA-2024:4740 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.6) | Fixed | RHSA-2024:3859 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:5101 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:5102 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:5102 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-52530
- 2026-10-03 Alias added: GHSA-w2hj-8f47-3gw5
References
Patch 6
- https://git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09
- https://git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022
- https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0
- https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36
- https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d
- https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-52530 · CVE Program
- CVE-2023-52530 · NVD
- FIRST EPSS
- GHSA-w2hj-8f47-3gw5 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-52530 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences