Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2025 16:37:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem
Message-ID:  <bug-289017-7501-4uneMjiKlh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289017-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-289017-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289017

--- Comment #1 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Qiu-ji Chen from comment #0)
Thanks for the reporting !

I think that is a nice finding.

As for the fix, FreeBSD's net stack is moving towards to lockless fast path, so
probably the right fix should be flagging the interface down and waiting until
the fast paths finish their work and then changing the proto.

Do you have any test cases so that it will make it easier to repeat the issue
and verify the fix ?

-- 
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-289017-7501-4uneMjiKlh>