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, Apr 12, 1:21 PM
Unknown Object (File)
Fri, Mar 29, 7:39 AM
Unknown Object (File)
Mar 7 2024, 8:31 PM
Unknown Object (File)
Feb 16 2024, 1:58 AM
Unknown Object (File)
Jan 21 2024, 9:53 PM
Unknown Object (File)
Dec 20 2023, 3:38 AM
Unknown Object (File)
Dec 12 2023, 3:06 PM
Unknown Object (File)
Sep 3 2023, 8:23 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