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, Jan 9, 6:15 PM
Unknown Object (File)
Jan 2 2025, 10:55 AM
Unknown Object (File)
Dec 19 2024, 6:37 AM
Unknown Object (File)
Nov 17 2024, 1:58 AM
Unknown Object (File)
Oct 5 2024, 7:35 AM
Unknown Object (File)
Oct 5 2024, 1:00 AM
Unknown Object (File)
Oct 4 2024, 6:25 PM
Unknown Object (File)
Oct 3 2024, 11:37 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