Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C70D419315 for ; Wed, 26 Aug 2026 14:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755088; cv=none; b=qNZTNtXe3s8rfo7peI6d7446A50C4Ed35JfdumTHTZHcRK78O0MwR99g+pY/Fl75KF+J7zuc2kySMLn1qNP/0zXrym5GJZjW3NVvCF1jK3WOFdSrwxk4GDaUzdSyfhTo9belmZM3LrvcXTU/ueQeWNE9bi4Q2OMDGKNCL3MunZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755088; c=relaxed/simple; bh=5vZ3qwOigvh4iZ3oIsv5mwFPNaOWY8YHb1KEIx6fam8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tkSrn3wR/NRpbEazKMp26mrrZ8+Jo5mxCtu0bwzMOZO7YXpkZgpNe2B20t+PqRqnMktDgkW7/Sw6TK7xHFSx9QYwwkpjhoJA/xsYX6df6s3XCP8CJq2ltqRGBcLuACVGlp3+RqLP+uetKVspz9183+bcf7TJQoHySVXfo1bhGFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qlzNfWxY; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qlzNfWxY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C78F81F000E9; Wed, 26 Aug 2026 14:38:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755087; bh=Q8opIBrCj/kjDOsa08RAic+8da8Wx+iA0dd0bNz8azs=; h=From:To:Cc:Subject:Date:Reply-To; b=qlzNfWxYdKbG4LGE8KdaIcbiSKHfC146ADvS8kA0KegRL+iUXXXxWRwWogX33GeHf rplHCYw9VQL6n4hLkPKF6xifrPZH+1NpcycMNaWGPGNG6WVUQ2gQX6ofV0hJtK+diu JL1f0I7H4Bb1mbf6YuTYsDSvNQCjZN1ahRIAqlm4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80521: af_unix: Unlink scc_entry in unix_del_edge(). Date: Wed, 26 Aug 2026 16:37:17 +0200 Message-ID: <2026082601-CVE-2026-80521-2b35@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2955; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rl1edZzPmIVNhNcwoU4Oae7uuYOC2JSaujr52L0+4qI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v3iXHp1dpD2TS0hHLNpm9vvX61TsjZqvC1wWrJr55 EOuWExHRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEZALDgt5F4s1tYv8YVv7Q enyjOa7P5UpoK8NcOZ10jcYCw77PZ6s1GJhLy+8lHMsEAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: af_unix: Unlink scc_entry in unix_del_edge(). Kyle Zeng reported that GC could free a dead SCC partially. The scenario is as follows: 1) Create two SCCs: X -. A <-> B ^--' 2) Run the following concurrently: 2-1) send() sk-B to sk-B from sk-X 2-2) close() both A and B At 2-1), there is a small window where unix_add_edges() publishes a new edge (B <-> B) to GC but its skb is not queued by skb_queue_tail(). If 2-2) completes before skb_queue_tail() and GC is triggered, it judges A <-> B as dead, but B is not freed because GC cannot collect the not-yet-queued skb holding the B <-> B edge. X -. A <-> B -. This edge is visible ^--' ^..' but skb is not This itself is not a problem since the next GC run will judge B as dead as well and free it finally. X -. A <.> B -. ^--' ^--' However, X's SCC forces the next GC to call unix_walk_scc_fast(), and it iterates over A through B's scc_entry. Let's unlink scc_entry before freeing the vertex in unix_del_edge(). The Linux kernel CVE team has assigned CVE-2026-80521 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 4090fa373f0e763c43610853d2774b5979915959 and fixed in 7.1.10 with commit e3702470ced94fad74d71e2232f022d2eb752a6d Issue introduced in 6.10 with commit 4090fa373f0e763c43610853d2774b5979915959 and fixed in 7.2 with commit 594d905195024b228c962627ae5ae7c17bd582a4 Issue introduced in 6.1.141 with commit 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a Issue introduced in 6.6.93 with commit de7921631ff323369aa63a4324695ab54ea4047e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80521 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/unix/garbage.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/e3702470ced94fad74d71e2232f022d2eb752a6d https://git.kernel.org/stable/c/594d905195024b228c962627ae5ae7c17bd582a4