wifi: mac80211: fix potential key use-after-free (Linux Linux)

CVE-2023-52530
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.34 % · percentile 28 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < 2408f491ff998d674707725eadc47d8930aced09 ; affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < e8e599a635066c50ac214c3e10858f1d37e03022 ; affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 ; affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < 2f4e16e39e4f5e78248dd9e51276a83203950b36 ; affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < 65c72a7201704574dace708cbc96a8f367b1491d ; affected fdf7cb4185b60c68e1a75e61691c4afdc15dea0e < 31db78a4923ef5e2008f2eed321811ca79e7f71b
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.228 ≤ 5.10.* ; unaffected 5.15.169 ≤ 5.15.* ; unaffected 6.1.57 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD