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 5C2133603D9 for ; Thu, 25 Jun 2026 09:46:23 +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=1782380784; cv=none; b=qGRiDqyhVpOGO3QE7I72ibqO1mvdR/d1RNCKS3642LdGDJQklbUNFgiq5mq76e07MrS9Fdz4BYHu4fECso8XFuo8/g+LUMy31hiQiJUXEcOYEP/BNHdXNn+uwUe2jvJicwXiWn3KlbmWTL9Tp3Fswt/tHRsr5nM97MK61nEpzWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380784; c=relaxed/simple; bh=5ItEghpg4keXrvldXTIcVj2lX87dbGSBHDs1qpZRbYY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ybk+Hv/mWIcbV9GG42MA9PcntwV1AUdT6KEVUO2SgQzwn1js4+dxYi18ItnRGN6JivCCL2TPeLLhLYAFgCMmCrr2CHiUSoXW98DgllH6tM8FlqHzGjC2OHsT3bsp505QmFcPEGEz/aI2i8yV26PViki5BOqux8Wai5WjgLYZFtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HFdNXYcK; 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="HFdNXYcK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDD321F000E9; Thu, 25 Jun 2026 09:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380783; bh=KsnDscqPMhRDs5IsqMwGzTIh9W0e1OTr3Z5MHN3jTSM=; h=From:To:Cc:Subject:Date:Reply-To; b=HFdNXYcKcOZzwDmuC4uG6IkxaxrQJIMVZU/TyIrkLUW6Q+eqyGSFXuSKUTlGrEOVs CrwGi87Iny6Kr7D9/qP4EA9oPr+fjCVgjVC/LCshnr92pCHLYcZqWpqu+gKyOZ7NOy Xddk1qbHghW7tp78JfHFPaovBGLZRBmJIkAELWVY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53274: net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS Date: Thu, 25 Jun 2026 09:42:02 +0100 Message-ID: <2026062519-CVE-2026-53274-dd59@gregkh> X-Mailer: git-send-email 2.54.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=3570; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5ejC5XIOiRQklrhL82TDDdPa+BdkX2WQ/m9ujuv3Cfo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L4vXnbtellbiX363qK+2miXw1f0NnRLT7ul3zaz7/ Kyq23R/RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyE/ybDPPNiEbXqKxf433w1 Sn0a+sDXfKKNLMM8ixUeBm/NtHcfnKA5P4r/g3ZOq2kjAA== 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 sleep-inside-lock in __smc_setsockopt() causing local DoS A logic flaw in __smc_setsockopt() allows a local unprivileged user to cause a Denial of Service (DoS) by holding the socket lock indefinitely. The function __smc_setsockopt() calls copy_from_sockptr() while holding lock_sock(sk). By passing a userfaultfd-monitored memory page (or FUSE-backed memory on systems where unprivileged userfaultfd is disabled) as the optval, an attacker can halt execution during the copy operation, keeping the lock held. Combined with asynchronous tear-down operations like shutdown(), this exhausts the kernel wq (kworkers) and triggers the hung task watchdog. [ 240.123456] INFO: task kworker/u8:2 blocked for more than 120 seconds. [ 240.123489] Call Trace: [ 240.123501] smc_shutdown+... [ 240.123512] lock_sock_nested+... This patch moves the user-space copy outside the lock_sock() critical section to prevent the issue. The Linux kernel CVE team has assigned CVE-2026-53274 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 6.1.176 with commit 35a22117839602bb52283de08894c5a7dde92420 Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 6.6.143 with commit 5d27d2ffe487df89ce28fda0410eafa05dbe03a0 Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 6.12.94 with commit 89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 6.18.36 with commit dcd90f42a33e4220385f27b515183d0c91b2fc4a Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 7.0.13 with commit 94d286fa5eedc550d42bcb9c85416af8f77736ff Issue introduced in 5.18 with commit a6a6fe27bab48f0d09a64b051e7bde432fcae081 and fixed in 7.1 with commit a3fdd924d88c30b9f488636ce0e4696012cf5511 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-53274 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/af_smc.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/35a22117839602bb52283de08894c5a7dde92420 https://git.kernel.org/stable/c/5d27d2ffe487df89ce28fda0410eafa05dbe03a0 https://git.kernel.org/stable/c/89f6fbe0033c942cb790ffd53ca93a45eeaf1c91 https://git.kernel.org/stable/c/dcd90f42a33e4220385f27b515183d0c91b2fc4a https://git.kernel.org/stable/c/94d286fa5eedc550d42bcb9c85416af8f77736ff https://git.kernel.org/stable/c/a3fdd924d88c30b9f488636ce0e4696012cf5511