Page MenuHomeFreeBSD

ktls: catch invalid parameters earlier
ClosedPublic

Authored by rscheff on Mar 14 2024, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 3, 10:15 PM
Unknown Object (File)
Sat, Oct 3, 1:36 PM
Unknown Object (File)
Sat, Oct 3, 3:24 AM
Unknown Object (File)
Mon, Sep 14, 7:07 AM
Unknown Object (File)
Sat, Sep 12, 4:51 PM
Unknown Object (File)
Fri, Sep 11, 10:10 AM
Unknown Object (File)
Fri, Sep 11, 1:52 AM
Unknown Object (File)
Sep 5 2026, 4:20 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 56613
Build 53501: arc lint + arc unit