Page MenuHomeFreeBSD

tcp: remove a condition in tcp_usr_detach() that never happens
ClosedPublic

Authored by glebius on Jul 4 2022, 7:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 7, 6:21 PM
Unknown Object (File)
Sat, Feb 7, 4:26 PM
Unknown Object (File)
Sat, Jan 31, 3:16 AM
Unknown Object (File)
Tue, Jan 27, 10:22 AM
Unknown Object (File)
Dec 28 2025, 1:16 AM
Unknown Object (File)
Dec 13 2025, 6:11 PM
Unknown Object (File)
Dec 12 2025, 10:26 PM
Unknown Object (File)
Dec 12 2025, 2:43 PM
Subscribers

Details

Summary

The comment from Robert Watson doubts that this condition ever happens.
Our analysis confirm that. Also, we found that if you manage to create
such a connection with help of some other bug, then after the "second
case" code is execute, the kernel will panic in other parts of the stack.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable