diff options
| author | 2026-05-11 23:31:00 +0800 | |
|---|---|---|
| committer | 2026-05-13 19:03:05 -0700 | |
| commit | 552cc2306c3d87632f44a655737d1d367c2a3295 (patch) | |
| tree | 873d43259e428b340f6dd02e6538323674bae4c2 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | macsec: use rcu_work to defer RX SA crypto cleanup out of softirq (diff) | |
macsec: use rcu_work to defer TX SA crypto cleanup out of softirq
free_txsa() is an RCU callback running in softirq context, but calls
crypto_free_aead() which can invoke vunmap() internally on hardware
crypto drivers (e.g. hisi_sec2), triggering a kernel crash.
Use rcu_work to defer the cleanup to a workqueue, for the same reasons
as the analogous fix to free_rxsa() in the previous patch.
Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20260511153102.2640368-4-alexjlzheng@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
