Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2023-52530

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

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < 2408f491ff998d674707725eadc47d8930aced09affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < e8e599a635066c50ac214c3e10858f1d37e03022affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < 2f4e16e39e4f5e78248dd9e51276a83203950b36affected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < 65c72a7201704574dace708cbc96a8f367b1491daffected
  • fdf7cb4185b60c68e1a75e61691c4afdc15dea0e to < 31db78a4923ef5e2008f2eed321811ca79e7f71baffected
  • ef810e7c3d2a8fb3bbd23726599c487c30ea747eaffected
  • a0a8a11d1630cd648dc1ce86da620b4e240e0315affected
  • 6891c6fd2a500d1f39d1426765f610bdc2c2a39daffected
  • 003aa22c9619b49efe950aca3aebd1235a04940daffected
  • 6440f0ee8a1779f53526bccb9de00914daeb9094affected
  • 2586fa0007dc6b7745da14250be7e3aae706b128affected
  • a9ab1b2e30e898440a22d7b1d7a5b0b7c6a8791faffected
  • 3.2.95 to < 3.3affected
  • 3.16.50 to < 3.17affected
  • 3.18.82 to < 3.19affected
  • 4.1.47 to < 4.2affected
  • 4.4.99 to < 4.5affected
  • 4.9.63 to < 4.10affected
  • 4.13.14 to < 4.14affected

Linux Linux

Default version status: affected

  • 4.14affected
  • 0 to < 4.14unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.228 to ≤ 5.10.*unaffected
  • 5.15.169 to ≤ 5.15.*unaffected
  • 6.1.57 to ≤ 6.1.*unaffected
  • 6.5.7 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References