Date: Fri, 22 Sep 2017 09:01:44 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222512] [netgraph] ng_con_nodes calls ng_findhook() on unprotected node2 Message-ID: <bug-222512-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222512 Bug ID: 222512 Summary: [netgraph] ng_con_nodes calls ng_findhook() on unprotected node2 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: avg@FreeBSD.org ng_con_nodes() receives two nodes are parameters, 'node' is referenced and locked while 'node2' is just referenced. Calling ng_findhook(node2) is racy with any hook modifications of node2. The call should be removed as the check is also done, and with correct lock= ing, in ng_con_part2(). It's just a little bit too noisy right now. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222512-8>