HomeFreeBSD

ipsec: Fix a lock leak in ipsec_chkreplay()

Description

ipsec: Fix a lock leak in ipsec_chkreplay()

Reported by: Chris Jarrett-Davies of the OpenAI Codex Security Team
Reviewed by: pouria, kp
Fixes: 0361f165f219 ("ipsec: replace SECASVAR mtx by rmlock")
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58521

(cherry picked from commit b6823a973737f06ea6cf0ea5a3083383af2ba5a4)

Details

Provenance
markjAuthored on Jul 29 2026, 1:19 PM
Reviewer
rG0361f165f219: ipsec: replace SECASVAR mtx by rmlock
Differential Revision
D58521: ipsec: Fix a lock leak in ipsec_chkreplay()
Parents
rG0af1065b3a57: ktls: Propagate EPG_FLAG_ANON to mapped mbufs
Branches
Unknown
Tags
Unknown