CVE-2023-52530

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

State
Published
Severity
8.8 High
Published
Mar 2, 2024
Updated
Aug 5, 2026
Reserved
Feb 20, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before 2408f491ff998d674707725eadc47d8930aced09Affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before e8e599a635066c50ac214c3e10858f1d37e03022Affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0Affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before 2f4e16e39e4f5e78248dd9e51276a83203950b36Affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before 65c72a7201704574dace708cbc96a8f367b1491dAffected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to before 31db78a4923ef5e2008f2eed321811ca79e7f71bAffected
  • ef810e7c3d2a8fb3bbd23726599c487c30ea747eAffected
  • a0a8a11d1630cd648dc1ce86da620b4e240e0315Affected
  • 6891c6fd2a500d1f39d1426765f610bdc2c2a39dAffected
  • 003aa22c9619b49efe950aca3aebd1235a04940dAffected
  • 6440f0ee8a1779f53526bccb9de00914daeb9094Affected
  • 2586fa0007dc6b7745da14250be7e3aae706b128Affected
  • a9ab1b2e30e898440a22d7b1d7a5b0b7c6a8791fAffected
  • 3.2.95 to before 3.3Affected
  • 3.16.50 to before 3.17Affected
  • 3.18.82 to before 3.19Affected
  • 4.1.47 to before 4.2Affected
  • 4.4.99 to before 4.5Affected
  • 4.9.63 to before 4.10Affected
  • 4.13.14 to before 4.14Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.228 through 5.10.*Not affected
  • 5.15.169 through 5.15.*Not affected
  • 6.1.57 through 6.1.*Not affected
  • 6.5.7 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.