Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 119BF7405A for ; Tue, 9 Dec 2025 00:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238687; cv=none; b=Fn1kuG5LUe2sL17+LK8j0WygZ1XMQo6wIPpzIW52+9UBZgkKoPYlqcZvNOEyrgCulIWc8g9WNOJXOjy4iT0qx8LZuxQZljLiizjLMgsTg8KBNtXiiH6yrvoOemcsDozj1rQC5Dtyvuv314f3jfkRp5v1uYgedHyJwbqpNZFBjY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238687; c=relaxed/simple; bh=K+2nMzsGD7MUh/woZwmJZPjOa2ajJ7w4BNqzDGJaF7U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D8v7Bs9w4pdjUg7TP5QK8u5FuF3WEtX/vUkolnmsTnusQOkNN+9vicTaYAgAyKgE4awA06ciKus+m8ChVJbxaQsacvO8BDT7wc4d9SUUafUmSiVM8p0tR9kj8dbB35/7vJcxpfZU3N0s9Sc3KLCTdEoQgZUPCL8YOsGHzDTbczM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YooFmIJj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YooFmIJj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6ED9CC4CEF1; Tue, 9 Dec 2025 00:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238686; bh=K+2nMzsGD7MUh/woZwmJZPjOa2ajJ7w4BNqzDGJaF7U=; h=From:To:Cc:Subject:Date:Reply-To:From; b=YooFmIJjeTWhC596c3FsJRA8nL/lL+UJmBKk29755oASSDMbK8g2L/GF0aK1eSo4g qu0c1oXqY7eWN4hLnj+lvyGu0KJtOa8mNhe/Buxgchx09mL5Nx+tWe+5nJVMhLQEWn H/1yBigttgJgxpHGPRdpAvFp3WmLdRVRrGu9EUOs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53815: posix-timers: Prevent RT livelock in itimer_delete() Date: Tue, 9 Dec 2025 09:02:36 +0900 Message-ID: <2025120945-CVE-2023-53815-5695@gregkh> X-Mailer: git-send-email 2.52.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=3174; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qxTw2uKgyQXNFIGkX+QtDxwPm4ygAs+qqpXnoraVgUk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaS8rdUR2672L8EqIinjQ+7trahnfSQ6d143xPX3qR SvEZiR0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERu3WSYZ+vdyaQmuuQT95qG OHGdU6tdz8TvYZgr5PWyQOLGR/Gvr97r2U8oyJ7/k3EjAA== 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: posix-timers: Prevent RT livelock in itimer_delete() itimer_delete() has a retry loop when the timer is concurrently expired. On non-RT kernels this just spin-waits until the timer callback has completed, except for posix CPU timers which have HAVE_POSIX_CPU_TIMERS_TASK_WORK enabled. In that case and on RT kernels the existing task could live lock when preempting the task which does the timer delivery. Replace spin_unlock() with an invocation of timer_wait_running() to handle it the same way as the other retry loops in the posix timer code. The Linux kernel CVE team has assigned CVE-2023-53815 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 5.10.188 with commit f1be1ed32daa053484222f7f9beb2b16c624dffd Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 5.15.121 with commit 0670c4c567b27bd8f999a943028f4fe60d1a1106 Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 6.1.39 with commit e7aff15ba29ba4b3052786b1636fa5c4aa39e179 Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 6.3.13 with commit f9bd298e3e4d3fd6e19f017789a42d0f332cd555 Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 6.4.4 with commit c1968bb8a28625cc95d2ad3ca872ab98c9c36d59 Issue introduced in 5.4 with commit ec8f954a40da8cd3d159713b608e901f0cd909a9 and fixed in 6.5 with commit 9d9e522010eb5685d8b53e8a24320653d9d4cbbf 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-2023-53815 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/time/posix-timers.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/f1be1ed32daa053484222f7f9beb2b16c624dffd https://git.kernel.org/stable/c/0670c4c567b27bd8f999a943028f4fe60d1a1106 https://git.kernel.org/stable/c/e7aff15ba29ba4b3052786b1636fa5c4aa39e179 https://git.kernel.org/stable/c/f9bd298e3e4d3fd6e19f017789a42d0f332cd555 https://git.kernel.org/stable/c/c1968bb8a28625cc95d2ad3ca872ab98c9c36d59 https://git.kernel.org/stable/c/9d9e522010eb5685d8b53e8a24320653d9d4cbbf