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 A490E4A2A46 for ; Sun, 18 Oct 2026 15:28:51 +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=1792337333; cv=none; b=U3m/FKbeCtrZfPcGGYOa/iHp4Qh4gv5HuvU4suq7BndVObvNFCyTtZ1hTeJPQPb1WolSM7t0qePAD25fj4L1Hl2PJ/0PKFIgYbg+xyJtY2DzQdt5PXLny6plJmVjUgwERvhteMM1SCEO/unmeYxSb4UNmktB+/1uyp+4GZNQmHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337333; c=relaxed/simple; bh=JGb07EMwCobkHXobP4XN8R4wEkxz+2D+Bcx5R/GhGFE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Js3urMIBLQiNoJ2Tlvc7sgXyIPn+8iJOkbM6nahNq/j9A724gCfgKmaLj9ZjK3nho8vzrPHFcuYHn94ql/ZFWiBYKxW3u4C3tWrR+gXqNPfb5wANtq3DfYoZ1cM/0B/fZbUe8+2eqjuVoLvy0JT1HlFG1vnKVNu3VyVhk2g22TU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hqE4Xtx0; 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="hqE4Xtx0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D3061F000C5; Sun, 18 Oct 2026 15:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337330; bh=0DF+MR+d4Nro3NrRGgDmy8j7QFGtV/pzyO8z+1Vwmak=; h=From:To:Cc:Subject:Date:Reply-To; b=hqE4Xtx0P/OCp/SGiJ9/gDSMjM4uN7iW2DQW5aMsd2b38O+5ElyXZJarbKd5KsgSB b286AyWnGBpieGghSZojZOi7EMsP88wFkoTnckoTcggzX0uBgFCrl+KRxm1BVqrrR3 DOAeTm3WxDvkKOSetXLZELK3IRYQNVUTAt2nwEgk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98559: net/smc: fix UAF on lgr list traversal in smcr_port_err() Date: Sun, 18 Oct 2026 17:17:03 +0200 Message-ID: <2026101830-CVE-2026-98559-67b8@gregkh> X-Mailer: git-send-email 2.56.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=3226; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7ynbDLV2iOupGu1JWVa3bMcCLrlAHPmb05geZgvPCH8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk3yTtoR13iCq+vIOiXjeL8o+ap8sepXufnq4eGla lMUTB91xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERuCjIsOKr33fbqlbm9RjP+ anzfm2PHcUsljGHB4SuqTdfnVBmlPt1nt1H0r/0MI90GAA== 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: fix UAF on lgr list traversal in smcr_port_err() smcr_port_err() traverses smc_lgr_list.list without holding smc_lgr_list.lock, allowing a concurrent smc_lgr_terminate_sched() to free an lgr while it is still being dereferenced. Hold smc_lgr_list.lock across the traversal. Update smc_ib_gid_check() to call smcr_port_err() after releasing the lock. The Linux kernel CVE team has assigned CVE-2026-98559 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 5.15.222 with commit 34bcf11cd2528ae00bb6d764d808083c66824277 Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 6.1.189 with commit 0edcc4284392b28826b5d37532b366b291e6e0fa Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 6.6.158 with commit 00a59600ae72d24859d0ad1783a78bc921bc2599 Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 6.12.112 with commit 3d35f069e1c119992000d51236dbe54da2d4e61e Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 6.18.55 with commit 3d65a2eb4449fc9658fb860dea893025d028d90e Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 7.2.9 with commit a9b968e42690d784c241a0761c10253271f7df5d Issue introduced in 5.8 with commit 541afa10c126b6c22c2a805a559c70cc41fd156e and fixed in 7.3-rc5 with commit 61cb282fe97b3b0ba32ca09417a693162bf4ae3f 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-98559 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 net/smc/smc_ib.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/34bcf11cd2528ae00bb6d764d808083c66824277 https://git.kernel.org/stable/c/0edcc4284392b28826b5d37532b366b291e6e0fa https://git.kernel.org/stable/c/00a59600ae72d24859d0ad1783a78bc921bc2599 https://git.kernel.org/stable/c/3d35f069e1c119992000d51236dbe54da2d4e61e https://git.kernel.org/stable/c/3d65a2eb4449fc9658fb860dea893025d028d90e https://git.kernel.org/stable/c/a9b968e42690d784c241a0761c10253271f7df5d https://git.kernel.org/stable/c/61cb282fe97b3b0ba32ca09417a693162bf4ae3f