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)
Wed, May 20, 10:28 AM
Unknown Object (File)
Tue, May 19, 8:52 PM
Unknown Object (File)
Tue, May 19, 9:35 AM
Unknown Object (File)
Sat, May 16, 4:37 AM
Unknown Object (File)
Tue, May 12, 3:13 AM
Unknown Object (File)
Apr 29 2026, 10:44 PM
Unknown Object (File)
Apr 28 2026, 8:40 PM
Unknown Object (File)
Apr 27 2026, 1:16 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