diff options
| author | 2025-10-19 11:54:27 +0300 | |
|---|---|---|
| committer | 2025-10-20 13:57:10 +0200 | |
| commit | ed6a47346ec69e7f1659e0a1a3558293f60d5dd7 (patch) | |
| tree | c9943936fb1214cb991d9aaba24fe2549d22d771 /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode (diff) | |
| download | wireguard-linux-ed6a47346ec69e7f1659e0a1a3558293f60d5dd7.tar.xz wireguard-linux-ed6a47346ec69e7f1659e0a1a3558293f60d5dd7.zip | |
wifi: mac80211: fix key tailroom accounting leak
For keys added by ieee80211_gtk_rekey_add(), we assume that
they're already present in the hardware and set the flag
KEY_FLAG_UPLOADED_TO_HARDWARE. However, setting this flag
needs to be paired with decrementing the tailroom needed,
which was missed.
Fixes: f52a0b408ed1 ("wifi: mac80211: mark keys as uploaded when added by the driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251019115358.c88eafb4083e.I69e9d4d78a756a133668c55b5570cf15a4b0e6a4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
