Skip to main content
← All vulnerabilities
CVE-2023-52530

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3, 3.17, 3.19, 4.2, 4.5, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3.2.95 · fixed in 3.3; From 3.16.50 · fixed in 3.17; From 3.18.82 · fixed in 3.19; From 4.1.47 · fixed in 4.2; From 4.4.99 · fixed in 4.5; From 4.9.63 · fixed in 4.10; From 4.13.14 · fixed in 4.14

  • Linux Linux

    4.14

References 6

git.kernel.org