Page MenuHomeFreeBSD

ktls: catch invalid parameters earlier
ClosedPublic

Authored by rscheff on Mar 14 2024, 9:49 PM.
Tags
None
Referenced Files
F132235843: D44364.id135766.diff
Wed, Oct 15, 1:43 AM
F132235840: D44364.id.diff
Wed, Oct 15, 1:43 AM
F132235839: D44364.id135897.diff
Wed, Oct 15, 1:43 AM
F132235836: D44364.id135767.diff
Wed, Oct 15, 1:43 AM
Unknown Object (File)
Tue, Oct 14, 4:53 PM
Unknown Object (File)
Sat, Oct 4, 11:57 AM
Unknown Object (File)
Fri, Oct 3, 11:49 PM
Unknown Object (File)
Fri, Oct 3, 2:20 AM
Subscribers

Details

Summary

Move safety checks forward from ktls_session_create() to
ktls_copyin_tls_enable(). Prevents zero mallocs, and excessively
large kernel mallocs.

Reported-by: syzbot+72022fa9163fa958b66c@syzkaller.appspotmail.com
Sponsored by: NetApp, Inc.
X-NetApp-PR: #79

Diff Detail

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