wifi: mac80211: fix potential key use-after-free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e8e599a635066c50ac214c3e10858f1d37e03022, Kernel 3.17, Kernel 3.19 and 15 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <e8e599a635066c50ac214c3e10858f1d37e03022, >=3.16.50 <3.17, >=3.18.82 <3.19, >=3.2.95 <3.3, >=4.1.47 <4.2, >=4.13.14 <4.14, >=4.4.99 <4.5, >=4.9.63 <4.10, >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <2408f491ff998d674707725eadc47d8930aced09, >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <2f4e16e39e4f5e78248dd9e51276a83203950b36, >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <31db78a4923ef5e2008f2eed321811ca79e7f71b, >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <65c72a7201704574dace708cbc96a8f367b1491d, >=fdf7cb4185b60c68e1a75e61691c4afdc15dea0e <e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0, =003aa22c9619b49efe950aca3aebd1235a04940d, =2586fa0007dc6b7745da14250be7e3aae706b128, =4.14, =6440f0ee8a1779f53526bccb9de00914daeb9094, =6891c6fd2a500d1f39d1426765f610bdc2c2a39d, =a0a8a11d1630cd648dc1ce86da620b4e240e0315, =a9ab1b2e30e898440a22d7b1d7a5b0b7c6a8791f, =ef810e7c3d2a8fb3bbd23726599c487c30ea747e | e8e599a635066c50ac214c3e10858f1d37e03022, 3.17, 3.19, 3.3, 4.2, 4.14, 4.5, 4.10, 2408f491ff998d674707725eadc47d8930aced09, 2f4e16e39e4f5e78248dd9e51276a83203950b36, 31db78a4923ef5e2008f2eed321811ca79e7f71b, 65c72a7201704574dace708cbc96a8f367b1491d, e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 |
| linux-kernel: Kernel | >=3.18.82 <3.19, >=3.2.95 <3.3, >=4.1.47 <4.2, >=4.13.14 <4.14, >=4.14.0 <5.4.285, >=4.4.99 <4.5, >=4.9.63 <4.10, >=5.11.0 <5.15.169, >=5.16.0 <6.1.57, >=5.5.0 <5.10.228, >=6.2.0 <6.5.7, >=3.16.50 <3.17 | 3.19, 3.3, 4.2, 4.14, 5.4.285, 4.5, 4.10, 5.15.169, 6.1.57, 5.10.228, 6.5.7, 3.17 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket