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)
Sep 28 2024, 3:15 PM
Unknown Object (File)
Sep 23 2024, 6:57 PM
Unknown Object (File)
Sep 21 2024, 5:00 PM
Unknown Object (File)
Sep 21 2024, 3:13 PM
Unknown Object (File)
Sep 20 2024, 2:12 PM
Unknown Object (File)
Sep 17 2024, 1:14 PM
Unknown Object (File)
Sep 17 2024, 9:47 AM
Unknown Object (File)
Sep 7 2024, 4:57 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 Passed
Unit
No Test Coverage
Build Status
Buildable 56613
Build 53501: arc lint + arc unit