ACK: [SRU][J/F][PATCH 0/1] CVE-2023-52530

Andrei Gherzan andrei.gherzan at canonical.com
Tue Apr 23 14:24:46 UTC 2024


On 24/04/12 03:02PM, Bethany Jamison wrote:
> [Impact]
> 
>  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().
> 
> [Fix]
> 
> Mantic:	pending
> Jammy: 	Backport - contect conflict with neighboring line that didn't seem
> 	to affect the fix change so I implemented the fix change directly
> Focal:	J patch applied cleanly.
> Bionic:	fix sent to esm ML
> Xenial:	fix sent to esm ML
> Trusty:	not-affected
> 
> [Test Case]
> 
> Compile and boot tested.
> 
> [Where problems could occur]
> 
> This fix affects those who use the mac80211 framework, an issue with this
> fix would be visable via unpredicted system behavior or a system crash.
> 
> Johannes Berg (1):
>   wifi: mac80211: fix potential key use-after-free
> 
>  net/mac80211/cfg.c | 3 +++
>  net/mac80211/key.c | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)

Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240423/737f86f0/attachment.sig>


More information about the kernel-team mailing list