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 37E8B455620 for ; Fri, 11 Sep 2026 19:47:56 +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=1789156117; cv=none; b=dDKmBAnRa5K/a+FEf72UsEJdLbH5CxldW0l60EKCqVj23RcfXefliVzVkjqmqk7HUmPr162nJgCsCO4u5QSTxlVyKrtKTa87HegidQqMaI6/it8tT0+3P62VK84ZKQUQOyhnoZpD3GwY2syJ6191KhKmygT2ThamaSxGar7UMQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156117; c=relaxed/simple; bh=jNFqxnFJxO5+ZH+AomYxoFaGX5giW5nUWsQBaXH48SE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p0Fa4FxO3jAe4Q/XPu7qUQCQzwq0W/Bj37cXBW1dSdb46HTHNnqQtPbscdaNCbQTNRgz1BBYPRJ0iaOtWO5ayxVgdCSAPqHpNBbuwvjpFEc+CHFjUB0AWVCK/NsVEXB44+nTbhypMu0VOpHo8b4zueAnr5mhdO3+pTDJ0gacEso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XWDohMwu; 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="XWDohMwu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 965A71F0089B; Fri, 11 Sep 2026 19:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156076; bh=hLsNW7hez9xQI0jJmRa54EGALtLdvVCxS7nt9ypX8v0=; h=From:To:Cc:Subject:Date:Reply-To; b=XWDohMwu7i34okexZMmJJCfqGefVZTcjc2MyLfMQaL+T6P3eTlxHNL2FJB8WyrDKz nZSwnbASBlCT4gO+ahlcpdXtFZAhqa7+Lw2gHjYTPA9Qmu1UwSJ14usTS2cgkLMSlK HtgHkfjjtopxL5/DadjG5aL5j4U4hQZn1ublt5kY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80979: net/smc: unregister the connection before draining the rx tasklet Date: Fri, 11 Sep 2026 21:41:25 +0200 Message-ID: <2026091146-CVE-2026-80979-9f9d@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=3137; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fkwk6zGTC0w4S2rknBoLn2nRqKZme/xBroaUq5w6TBU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIu3unjV++PK86OKwmouqqTq7f3Xbtl68qfqwfIKdn 0/zpHKhjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgI51WG+XW31e9vSao4qWd1 S0ck5u6k+KArRQzzDIQ7PrNv4TkzTfVm+cX+tuZrE6dIAgA= 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: net/smc: unregister the connection before draining the rx tasklet smc_conn_free() calls smc_ism_unset_conn() only while the link group is still on its device list, and never sets conn->killed. smc_lgr_terminate_sched() unlinks the group immediately and defers killing its connections to a work item, so a connection freed in that window keeps its smcd->conn[] slot with both gates in smcd_handle_irq() open, and the device can re-arm the receive tasklet after tasklet_kill() has returned. On the DMB-nocopy path the ghost send buffer is freed right after that drain, so the re-armed tasklet dereferences it. Unregister unconditionally and drain before the detach at both teardown sites, mirroring rmb_desc, which smc_buf_unuse() releases after the drain. Clear conn->sndbuf_desc before freeing it as well, so a reader that samples the pointer cannot get one that is already freed. The Linux kernel CVE team has assigned CVE-2026-80979 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit ae2be35cbed2c8385e890147ea321a3fcc3ca5fa and fixed in 6.12.109 with commit b4d540ac95cd35c6ebab6afb7eae2bcac7b277a5 Issue introduced in 6.10 with commit ae2be35cbed2c8385e890147ea321a3fcc3ca5fa and fixed in 6.18.50 with commit 5bd8b764a610b6b6bc0c4d3d01652747f6e0b5c3 Issue introduced in 6.10 with commit ae2be35cbed2c8385e890147ea321a3fcc3ca5fa and fixed in 7.2.4 with commit b74d313567dfc1b7e56629ddbad04e728686f235 Issue introduced in 6.10 with commit ae2be35cbed2c8385e890147ea321a3fcc3ca5fa and fixed in 7.3-rc1 with commit 36cdf5d48ca191dcd71c28cadbe0981b1d25318d Issue introduced in 6.6.66 with commit 21f6f41e82e59740e26e06e77bdf58dc7f6f08dd 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-80979 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/smc/smc_core.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/b4d540ac95cd35c6ebab6afb7eae2bcac7b277a5 https://git.kernel.org/stable/c/5bd8b764a610b6b6bc0c4d3d01652747f6e0b5c3 https://git.kernel.org/stable/c/b74d313567dfc1b7e56629ddbad04e728686f235 https://git.kernel.org/stable/c/36cdf5d48ca191dcd71c28cadbe0981b1d25318d