From nobody Sat Nov 11 14:45:19 2023 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SSJQ80c7pz513RY for ; Sat, 11 Nov 2023 14:45:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SSJQ76gKKz3br2 for ; Sat, 11 Nov 2023 14:45:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699713919; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yUX4dVsAo05IkAKSLEhzCIGiVrXFyBEHtESV9RduS8M=; b=GDvXspTodxefVJ7OWoES8dSv5WR+Uqrf3D4HaU3Utaz2pn6QKO+tQ/Cc5d2lQoBSI50WRN 2N2n1bzWMfREjl07oGTr+P+YZXR8KpYiPv6yrwWKJMv0VR7m9PsJUt1p0t3ACdId2n0onN c3nAWZjvOVa8oWnK0yd1k56tM6OwbP5xpswZqnkDyqUbv7oOXR/I1XMU38v0zw9YnY9FFL KVMuXlR2EkM/U5RXd5sZUkHp9LqNaJ6G0s36wPSb9qvpc9P4xNnhdxoxe9IVpzkwJ3MR6Y FC8NMziZS9tFF+m5WspNBhVAZf0JRd6hNuRzjSh3YqCQlLaSFavYcp89RwS14A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699713919; a=rsa-sha256; cv=none; b=IprGzzTnUxZmWIMJmKQJxFlJlPBhIdWOM3FRA+/z4bI7F7/OgpuGD89b23Vr/9RizbpRAa yu+exBxWa08Df0pJPpyZqjFmTGqTg+Oh/HSuK1ykKMuSPe/MeX4JQqksOR+hcyzvBrsotq BhAv1c4rJoyv8g0457USEc/l1ACcLaMFGS5AbYFUpSTl/oNpL05TedmbkCfjukYdybJMOX cJ2izUjP8XGAcamaWNH1hql56nQt95/qYuqNr+0nLz35gcMYI4fHxw+xN9tXx/aoQLVQiI 8/a5WXpBL7vEvZyQ2y45g4hwd3KoAn54rdl53GtZHouz9we3D6N1G9sxJQI7eA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SSJQ75ljTzlG9 for ; Sat, 11 Nov 2023 14:45:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ABEjJ0h073135 for ; Sat, 11 Nov 2023 14:45:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ABEjJ10073134 for net@FreeBSD.org; Sat, 11 Nov 2023 14:45:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275001] if_wg: Missing radix unlock can cause deadlock Date: Sat, 11 Nov 2023 14:45:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275001 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddcc4d2939f789a6d1f272ffeab2068ba2= b7525ea commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea Author: Aaron LI AuthorDate: 2023-11-11 13:13:08 +0000 Commit: Kristof Provost CommitDate: 2023-11-11 13:13:08 +0000 if_wg: Missing radix unlock can cause deadlock In function 'wg_aip_add()', the error path of returning ENOMEM when (node =3D=3D NULL) is forgetting to unlock the radix tree, and thus may= lead to a deadlock. PR: 275001 Reviewed by: kp MFC after: 1 week sys/dev/wg/if_wg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=