From nobody Sun Nov 19 19:30:36 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 4SYLMd1mkSz51DGv for ; Sun, 19 Nov 2023 19:30:37 +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 4SYLMc6zHWz4YyF for ; Sun, 19 Nov 2023 19:30:36 +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=1700422237; 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=cO+bwPQM/FFxJXaM8bhxRjZepnTQjCrD5hPdqRW/I5w=; b=QfpcCAAA2p4XvuFEkzUSaa8Fn2926PD1AlCSlRll3ejnXGxpvq2nOoVo1ZdGA8NF6/aX3x 2WMrDm+vaxUXIblZlMklU1u641iYTBR8Ghsjm4oHs7ItrSkStjQGMEcjmUcUR6aYxreP9f NkR07o9YMUfiBpISx6iVNgEz+vTxTDDD5qp8VuNiwR52QQtb9orJ8bvQLhR6BMLn1/vbwN B5eu2mv7/MQWDelAARqru35l1G2D3XoiFSga9b3ekSq+1Nf4VmNNmBczRr5p0Mh3qy8XwW HXkleSikhauSJ344J/lb1o4hyFuI5ZgnV4mQKxH1U7WPmnluRzFlUCABZ9INeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700422237; a=rsa-sha256; cv=none; b=EOjd//Hs2CE5dtujXOAGaFNgjgqpjGvsw0DHcsq9rbldATkf9lMXnIi/w7vulj930UKj6G E/mbtGsV2pv1sYoUGWuAOz9aafo+GQn7tEgTi69Dyj7fXuRsJ7AeK/GIhLF8R5Hhf5iDBh C//jz0rOsK7v4/XKLXsQLoxnqN+nq3HBelSuVDvtj9SshlAj21GudvZWJQRP2JTE4WNfB3 0sh2Oy7inUpTk3VXzKZFIMZjQm3/aTP2Y+vJsp3bkC92V21OJ5EqZFkVgBZEXKnF5dRYsv vsoP3ulCtWXp6hx8/KEOm0Dp9+HcT2usyNmCCfJhDaDZmFvuVbyvLX5D5jb4sw== 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 4SYLMc63G1z6y5 for ; Sun, 19 Nov 2023 19:30:36 +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 3AJJUapK078788 for ; Sun, 19 Nov 2023 19:30:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AJJUa75078787 for net@FreeBSD.org; Sun, 19 Nov 2023 19:30:36 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: Sun, 19 Nov 2023 19:30:36 +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: In Progress 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 #4 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9ed67f1307f40b3173ea3b3889c6323f9= ef4a58f commit 9ed67f1307f40b3173ea3b3889c6323f9ef4a58f Author: Aaron LI AuthorDate: 2023-11-11 13:13:08 +0000 Commit: Kristof Provost CommitDate: 2023-11-18 09:46:21 +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 (cherry picked from commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea) 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.=