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)
Sun, Sep 6, 11:20 PM
Unknown Object (File)
Sun, Sep 6, 5:27 PM
Unknown Object (File)
Sun, Aug 16, 5:24 AM
Unknown Object (File)
Fri, Aug 14, 1:43 AM
Unknown Object (File)
Jul 31 2026, 2:07 AM
Unknown Object (File)
Jul 30 2026, 9:26 PM
Unknown Object (File)
Jul 26 2026, 4:06 PM
Unknown Object (File)
Jul 22 2026, 9:50 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