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)
Sun, Dec 21, 5:48 PM
Unknown Object (File)
Sun, Dec 7, 5:03 PM
Unknown Object (File)
Oct 29 2025, 9:25 AM
Unknown Object (File)
Oct 29 2025, 9:22 AM
Unknown Object (File)
Oct 29 2025, 9:21 AM
Unknown Object (File)
Oct 29 2025, 8:58 AM
Unknown Object (File)
Oct 25 2025, 12:26 AM
Unknown Object (File)
Oct 12 2025, 11:00 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