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, Jul 31, 2:07 AM
Unknown Object (File)
Thu, Jul 30, 9:26 PM
Unknown Object (File)
Sun, Jul 26, 4:06 PM
Unknown Object (File)
Wed, Jul 22, 9:50 AM
Unknown Object (File)
Sat, Jul 18, 10:00 AM
Unknown Object (File)
Jul 7 2026, 2:00 AM
Unknown Object (File)
Jul 3 2026, 7:05 AM
Unknown Object (File)
Jun 22 2026, 10:39 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable