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, Oct 9, 10:07 PM
Unknown Object (File)
Fri, Oct 9, 9:15 AM
Unknown Object (File)
Fri, Oct 9, 8:37 AM
Unknown Object (File)
Thu, Oct 1, 2:01 AM
Unknown Object (File)
Tue, Sep 29, 2:34 AM
Unknown Object (File)
Fri, Sep 25, 11:17 PM
Unknown Object (File)
Sep 18 2026, 8:28 PM
Unknown Object (File)
Sep 6 2026, 11:20 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