Page MenuHomeFreeBSD

inpcb: use internal flag to mark pcbs that are inserted into lbgroup
ClosedPublic

Authored by glebius on Jul 26 2023, 3:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 2:07 PM
Unknown Object (File)
Fri, Nov 15, 8:45 AM
Unknown Object (File)
Oct 18 2024, 10:26 AM
Unknown Object (File)
Oct 17 2024, 9:37 AM
Unknown Object (File)
Oct 16 2024, 5:20 AM
Unknown Object (File)
Oct 16 2024, 5:20 AM
Unknown Object (File)
Oct 15 2024, 5:38 AM
Unknown Object (File)
Oct 15 2024, 5:38 AM
Subscribers

Details

Summary

Using INP_REUSEPORT_LB is unsafe, as it is basically a copy of socket's
SO_REUSEPORT_LB flag, which can be cleared by userland after bind().

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52854
Build 49745: arc lint + arc unit