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
F142348179: D32124.id95665.diff
Sun, Jan 18, 9:32 PM
Unknown Object (File)
Fri, Jan 9, 12:19 PM
Unknown Object (File)
Sat, Dec 20, 3:17 PM
Unknown Object (File)
Dec 14 2025, 1:13 PM
Unknown Object (File)
Nov 28 2025, 1:05 AM
Unknown Object (File)
Nov 21 2025, 2:22 AM
Unknown Object (File)
Nov 17 2025, 8:38 PM
Unknown Object (File)
Nov 16 2025, 3:25 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