[Bug 239893] soclose use after free
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 15 22:33:53 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239893
Bug ID: 239893
Summary: soclose use after free
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: chrismiller.bsd at gmail.com
In soclose() the second loop through lqueue should use TAILQ_FOREACH_SAFE since
the socket is freed within the loop by soabort(), so the so_list pointer in
that socket could be garbage.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list