Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2024 05:39:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 276392] if_wg: Fix noise_remote_alloc() to acquire 'l_identity_lock' lock
Message-ID:  <bug-276392-7501-KBdLDiQxSr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276392-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276392-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=3D276392

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dce2d249b207045f27ec03719997168c92=
d0f6104

commit ce2d249b207045f27ec03719997168c92d0f6104
Author:     Aaron LI <aly@aaronly.me>
AuthorDate: 2024-01-17 23:29:23 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-01-30 05:37:57 +0000

    if_wg: fix access to noise_local->l_has_identity and l_private

    These members are protected by the identity lock, so rlock it in
    noise_remote_alloc() and then assert that we have it held to some extent
    in noise_precompute_ss().

    PR:             276392

    (cherry picked from commit 7a4d1d1df0b2e369adcb32aea9ef8c180f885751)

 sys/dev/wg/wg_noise.c | 4 ++++
 1 file changed, 4 insertions(+)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276392-7501-KBdLDiQxSr>