[Bug 276392] if_wg: Fix noise_remote_alloc() to acquire 'l_identity_lock' lock

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276392

--- Comment #7 from [email protected] ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b0fa37f356fd9dd5040c034c7523ec235fbb311b

commit b0fa37f356fd9dd5040c034c7523ec235fbb311b
Author:     Aaron LI <[email protected]>
AuthorDate: 2024-01-17 23:29:23 +0000
Commit:     Kyle Evans <[email protected]>
CommitDate: 2024-01-30 05:37:33 +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(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.