Skip to content

wg(4): Check for crypto operation errors - #313

Merged
fichtner merged 2 commits into
opnsense:stable/26.7from
paepckehh:stable/26.7
Aug 3, 2026
Merged

wg(4): Check for crypto operation errors#313
fichtner merged 2 commits into
opnsense:stable/26.7from
paepckehh:stable/26.7

Conversation

@paepckehh

Copy link
Copy Markdown
Contributor

In particular, handle authentication errors due to bad MACs when decrypting packets.

Since the current dispatch code assumes synchronous OCF sessions by design, explicitly reject any created OCF session that is not synchronous. Software sessions are always synchronous in practice, so this should be a nop.

Approved by: so
Security: FreeBSD-SA-26:52.if_wg
Security: CVE-2026-58085
Reviewed by: markj
Sponsored by: Chelsio Communications

In particular, handle authentication errors due to bad MACs when
decrypting packets.

Since the current dispatch code assumes synchronous OCF sessions by
design, explicitly reject any created OCF session that is not
synchronous.  Software sessions are always synchronous in practice, so
this should be a nop.

Approved by:	so
Security:	FreeBSD-SA-26:52.if_wg
Security:	CVE-2026-58085
Reviewed by:	markj
Sponsored by:	Chelsio Communications
Approved by:	so
Security:	FreeBSD-SA-26:52.if_wg
Security:	CVE-2026-58085
Reviewed by:	markj
Sponsored by:	Chelsio Communications
@fichtner
fichtner merged commit 73299f6 into opnsense:stable/26.7 Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants