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 ED36F1CD1E4 for ; Wed, 12 Aug 2026 00:08:19 +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=1786493301; cv=none; b=YkAlkMZDAY4SCQtZvR8cpGIXh6TfiQuOjTfmP45XxJJSLEY3XdF+vvfzG2fCdb15w7wbIVxSsin4dNN5TCtGWKsYZ4M/X+EmYz50MDUyeAPt5zh9IYz/Cw6K+gb2z4QqBML9ubNxmiq1RgLi8UNEtS4HU0vAd4OTjATe5pvqGVs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786493301; c=relaxed/simple; bh=b7J27S1YcdGOT67g5PU5f+qqYYApHJ88ZyTmiiB1LCc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K+lSfmhhkz+oE7b9ZosM6rMkYGZRwSvGw+Z9zDJxGURoLSmuBFl2dPZMwVDj0ylVDjbpSB6TDdsI57sF+wboyDLbyUG7Ico002JGNzduTeo8DWpYTPD2nLIiTxcZbgYV3FsXYDp9NY/OmDHhiesusQRbIreVbZDE8PmGKj8Cq7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bFAyvAnX; 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="bFAyvAnX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D2C51F00A3A; Wed, 12 Aug 2026 00:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786493299; bh=QwF31v/uyH/BDjfSDrpAZCN+rXFdxQEzoljwK5oQZt8=; h=From:To:Cc:Subject:Date:Reply-To; b=bFAyvAnXX/9Sfmc4RmpfEyjJTLZYi0u1GrSy1U4qgSYkl8/VwiPkqN+0NQbtH5cQP 8Zqj/4Eml1GZ/ZXjIrYvdKKOXvK3RU6vNrSoCgzcBw1ns2JJD4WLUK3hyFb3QHyp6s 4JSufmGjsFGa1dRNLcunb197ACDskxM11eYI3vKI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68438: smp: Make CSD lock acquisition atomic for debug mode Date: Wed, 12 Aug 2026 09:06:01 +0900 Message-ID: <2026081255-CVE-2026-68438-0cb0@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=2971; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=A1LzCuno/wjJwSByzZaDf0KbQpHR1kzvu1aBb+Tj60k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnVO54YHDlgUrYndJ6woMPduuvnJVhD/Opz2lbGWMl/v x3yNPNPRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExElIthwZ5YhbuNCQb+PeVL All51OQnav1wZ5grmC3U0x46s3r5y9xnPrdk7nbxZOsDAA== 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: smp: Make CSD lock acquisition atomic for debug mode Commit b0473dcd4b1d ("smp: Improve smp_call_function_single() CSD-lock diagnostics") changed smp_call_function_single() so that, when CSD lock debugging is enabled, async !wait calls use the destination CPU csd_data. That improves diagnostics, but it also removes the single-writer property that made the old csd_lock() safe: multiple CPUs can now prepare the same destination CPU CSD concurrently. csd_lock() currently waits for CSD_FLAG_LOCK to clear and then sets the bit with a non-atomic read-modify-write. Two senders can both see an unlocked CSD, set the bit, overwrite the callback fields, and enqueue the same llist node. Re-adding a node that is already the queue head can make node->next point to itself, leaving the target CPU stuck walking call_single_queue. Later synchronous work, such as a TLB shootdown, can then remain queued and trigger soft-lockup warnings or panics. Keep the single csd_lock() implementation, but when CSD lock debugging is enabled, acquire CSD_FLAG_LOCK with try_cmpxchg_acquire(). This makes the destination CPU CSD a real atomic lock in the only configuration where it can be shared by multiple remote senders, while preserving the existing non-debug fast path. The Linux kernel CVE team has assigned CVE-2026-68438 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit b0473dcd4b1d7e2e44947e7ac1820c73a268821a and fixed in 7.1.6 with commit 282d220bae5fbfc90cf0e3d5b5e42c00ad79f989 Issue introduced in 7.1 with commit b0473dcd4b1d7e2e44947e7ac1820c73a268821a and fixed in 7.2-rc5 with commit 35551efb155e3b83445a6c3f66cb498d5efc182c 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-68438 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: kernel/smp.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/282d220bae5fbfc90cf0e3d5b5e42c00ad79f989 https://git.kernel.org/stable/c/35551efb155e3b83445a6c3f66cb498d5efc182c