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)
Sat, Oct 25, 12:26 AM
Unknown Object (File)
Sun, Oct 12, 11:00 AM
Unknown Object (File)
Fri, Oct 10, 11:08 PM
Unknown Object (File)
Fri, Oct 10, 11:08 PM
Unknown Object (File)
Fri, Oct 10, 11:08 PM
Unknown Object (File)
Fri, Oct 10, 4:55 PM
Unknown Object (File)
Thu, Oct 9, 2:58 AM
Unknown Object (File)
Aug 16 2025, 3:48 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 Not Applicable
Unit
Tests Not Applicable