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 1C07018952C for ; Fri, 27 Dec 2024 14:23:37 +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=1735309418; cv=none; b=GvAAmZL9soFuHSlKBtUyvau9x0s+4CvCtdH6HFqokJ6MtYXHCtNa27oIiXXroorhGQBsgAbN0DcasIncA2BSh6kq9PZ+ciSZRUrW2qUdxEB1CeYlUp5QDT9uM1Ck8CYqN6QKnSgQp+AO2n1ocmhbYfuL6/ObuN+QEQeZmsWSDyQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735309418; c=relaxed/simple; bh=qMcJax/Xo/u1swrba2T9IVhtMRZUq+uo3w99rQNtsdI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Tm/w0vi1xazoZ9y7SdlfPv6A8GoGJ908FMDySa0YX6DWdYtSOdUW1MS7/mTkHr5qYo6A2IzbnciYI6L7J6ywbxiTSR56mhxJRDeuYEEP1IjI81hPyaiiY6xDlRiObbr9ssY9Dbihc5qk9pZJA5qc8uyyowJHNYobb5JG5QZOOV4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wIcjc2+2; 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="wIcjc2+2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20310C4CED0; Fri, 27 Dec 2024 14:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735309417; bh=qMcJax/Xo/u1swrba2T9IVhtMRZUq+uo3w99rQNtsdI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wIcjc2+29YxWW0aqTGBI19tv79A71AsKOPZbSSgx/wSkAXhjUN1gIoo/kGfqSbzaN 7icIb8AjCsb1NPsvEpFhSGmSISM7pMKwaaMbW04Y8aGHfjF/x5T0VQLBPg1/Jip3GF +26QVqvbznOt56T17BIomXxrevaIRBj4RvSYKHZ0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56550: s390/stacktrace: Use break instead of return statement Date: Fri, 27 Dec 2024 15:23:01 +0100 Message-ID: <2024122701-CVE-2024-56550-68f3@gregkh> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2303; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qMcJax/Xo/u1swrba2T9IVhtMRZUq+uo3w99rQNtsdI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5O1z9S+x+JExnrlnT/KDULbFjxw2RM08v35S7v0LY3 8l3Ec/pjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIkyTDPF1rpf0hr7yu6Sq8 kUz4vuxa7OI6HoYF5+03/8qdGOa1MvjK1GWnA+w2qa+KAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: s390/stacktrace: Use break instead of return statement arch_stack_walk_user_common() contains a return statement instead of a break statement in case store_ip() fails while trying to store a callchain entry of a user space process. This may lead to a missing pagefault_enable() call. If this happens any subsequent page fault of the process won't be resolved by the page fault handler and this in turn will lead to the process being killed. Use a break instead of a return statement to fix this. The Linux kernel CVE team has assigned CVE-2024-56550 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit ebd912ff9919a10609511383d94942362234c077 and fixed in 6.12.4 with commit 20c26357826457dc7c8145297e60ddc012e18914 Issue introduced in 6.10 with commit ebd912ff9919a10609511383d94942362234c077 and fixed in 6.13-rc1 with commit 588a9836a4ef7ec3bfcffda526dfa399637e6cfc Issue introduced in 6.9.4 with commit dd69165ac3dc12d8550aeec3fc4439c084ded3d8 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-2024-56550 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: arch/s390/kernel/stacktrace.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/20c26357826457dc7c8145297e60ddc012e18914 https://git.kernel.org/stable/c/588a9836a4ef7ec3bfcffda526dfa399637e6cfc