Page MenuHomeFreeBSD

ktls: Reject attempts to enable AES-CBC with TLS 1.3.
ClosedPublic

Authored by jhb on Oct 9 2021, 3:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 30, 4:34 PM
Unknown Object (File)
Tue, Dec 30, 9:23 AM
Unknown Object (File)
Fri, Dec 5, 12:08 AM
Unknown Object (File)
Nov 5 2025, 7:37 PM
Unknown Object (File)
Oct 29 2025, 6:58 AM
Unknown Object (File)
Oct 29 2025, 5:13 AM
Unknown Object (File)
Oct 29 2025, 5:13 AM
Unknown Object (File)
Oct 29 2025, 5:10 AM
Subscribers

Details

Summary

AES-CBC cipher suites are not supported in TLS 1.3.

Reported by: syzbot+ab501c50033ec01d53c6@syzkaller.appspotmail.com

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Oct 9 2021, 3:13 PM

I haven't tested this yet. I can try to do that this week unless one of y'all want to beat me to it.

In D32404#731030, @jhb wrote:

I haven't tested this yet. I can try to do that this week unless one of y'all want to beat me to it.

I verified that the repro works and that this patch causes it to return EINVAL instead.

This revision is now accepted and ready to land.Oct 9 2021, 3:30 PM

I've tested that all the expected cipher suites and versions still work.