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)
Thu, Apr 24, 1:55 PM
Unknown Object (File)
Wed, Apr 23, 5:43 PM
Unknown Object (File)
Sat, Apr 19, 2:11 PM
Unknown Object (File)
Sat, Apr 19, 1:00 PM
Unknown Object (File)
Sat, Apr 19, 8:46 AM
Unknown Object (File)
Fri, Apr 18, 6:39 PM
Unknown Object (File)
Fri, Apr 18, 1:29 PM
Unknown Object (File)
Tue, Apr 15, 8:59 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable