Commit bbf3997
committed
wifi: ath11k: fix gtk offload status event locking
jira LE-1907
cve CVE-2023-52777
Rebuild_History Non-Buildable kernel-4.18.0-553.16.1.el8_10
commit-author Johan Hovold <[email protected]>
commit 1dea3c0
The ath11k active pdevs are protected by RCU but the gtk offload status
event handling code calling ath11k_mac_get_arvif_by_vdev_id() was not
marked as a read-side critical section.
Mark the code in question as an RCU read-side critical section to avoid
any potential use-after-free issues.
Compile tested only.
Fixes: a16d9b5 ("ath11k: support GTK rekey offload")
Cc: [email protected] # 5.18
Cc: Carl Huang <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit 1dea3c0)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 0ff207b commit bbf3997
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8506 | 8506 | | |
8507 | 8507 | | |
8508 | 8508 | | |
| 8509 | + | |
| 8510 | + | |
8509 | 8511 | | |
8510 | 8512 | | |
8511 | 8513 | | |
8512 | 8514 | | |
8513 | | - | |
8514 | | - | |
| 8515 | + | |
8515 | 8516 | | |
8516 | 8517 | | |
8517 | 8518 | | |
| |||
8528 | 8529 | | |
8529 | 8530 | | |
8530 | 8531 | | |
| 8532 | + | |
| 8533 | + | |
8531 | 8534 | | |
8532 | 8535 | | |
8533 | 8536 | | |
| |||
0 commit comments