Page MenuHomeFreeBSD

opencrypto: Disallow requests which pass VERIFY_DIGEST without a MAC
ClosedPublic

Authored by markj on Sep 24 2021, 6:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 28, 1:05 AM
Unknown Object (File)
Fri, Nov 21, 2:22 AM
Unknown Object (File)
Mon, Nov 17, 8:38 PM
Unknown Object (File)
Sun, Nov 16, 3:25 AM
Unknown Object (File)
Nov 6 2025, 4:54 AM
Unknown Object (File)
Nov 5 2025, 12:08 AM
Unknown Object (File)
Nov 5 2025, 12:04 AM
Unknown Object (File)
Nov 5 2025, 12:04 AM
Subscribers

Details

Summary

Otherwise we can end up comparing the computed digest with an
uninitialized kernel buffer.

In cryptoaead_op() we already unconditionally fail the request if a
pointer to a digest buffer is not specified.

Based on a patch by Simran Kathpalia.

Reported by: syzkaller

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 41726
Build 38615: arc lint + arc unit