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
F152034506: D32124.id95660.diff
Sun, Apr 12, 6:18 AM
F151984459: D32124.id95660.diff
Sat, Apr 11, 10:39 PM
F151961579: D32124.diff
Sat, Apr 11, 7:21 PM
F151952619: D32124.id95665.diff
Sat, Apr 11, 5:52 PM
Unknown Object (File)
Fri, Apr 10, 1:06 AM
Unknown Object (File)
Fri, Apr 3, 8:04 PM
Unknown Object (File)
Wed, Mar 25, 5:36 AM
Unknown Object (File)
Tue, Mar 24, 8:00 PM
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