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 A09CD2E611B for ; Wed, 1 Oct 2025 11:58:04 +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=1759319884; cv=none; b=ecdx6WWMT7VYq1y+x8G8LIAW3j1XGTBpKcRGH6kAFyZtajTrXwoOJLPCuzTq9QEnesNGmv9YSFhq9J87AUgdUSLqwYMVGUcSy7fgnsEAu61FIABEUT51jwXZUYYcuiT2sxAlGEmqmCusCf+TWlKUHjnfPLzQvbcMud4EY9nVkak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319884; c=relaxed/simple; bh=Mz9wLZFV4iv9YSiP5XbZwoItvU7n5jziOq5e++cRUIc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WEMDZyeByvp4N6e7o7I5lTkVgoKmZlokYev9UnDnNQhp/5d6mBpW/EWPjDLYSnuTkBmS55ZczQXAN29QIAT4bQPx9vUF5ksn128FkkAD9T0JqXw44GT7kTgmgQlSJpkXZCk02DrGSmKMwCXMIO1wutvMcaIjoMnwSv20KaiPJUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JNT3emOr; 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="JNT3emOr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10FE4C4CEF4; Wed, 1 Oct 2025 11:58:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319884; bh=Mz9wLZFV4iv9YSiP5XbZwoItvU7n5jziOq5e++cRUIc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JNT3emOrdCXswFB8/4IdtHh2Nt0z+1oMdkfUqdx8Ugjev7wmAcx65j/QMoRdVpuDo yL7EiYpSxKuM390ZWFWS7HT4K9eQ3hxWexEpoNKLZ0v1qyf1t1X7y6cq6LoCDpFI2V HmVQW2Hoj5FmJ0vebK5r39xolzsap4+8Ds2EARyQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53491: start_kernel: Add __no_stack_protector function attribute Date: Wed, 1 Oct 2025 13:45:43 +0200 Message-ID: <2025100123-CVE-2023-53491-2d8b@gregkh> X-Mailer: git-send-email 2.51.0 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=2338; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=A5988q55MMqjtgBXy9EIWRmMvEPbtozdm/mnus9aBNw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RUISFFwv3dMV3Ryy7fm2nFiee3Zu57POn51+SaFJx XD+0R2ZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARXyGG+XGvwg0+Mi3JUFDt XsBY+mGz1/F13QwLTp033eWV/v7x1LNGASWsbk1MYW0eAA== 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: start_kernel: Add __no_stack_protector function attribute Back during the discussion of commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try") we discussed the need for a function attribute to control the omission of stack protectors on a per-function basis; at the time Clang had support for no_stack_protector but GCC did not. This was fixed in gcc-11. Now that the function attribute is available, let's start using it. Callers of boot_init_stack_canary need to use this function attribute unless they're compiled with -fno-stack-protector, otherwise the canary stored in the stack slot of the caller will differ upon the call to boot_init_stack_canary. This will lead to a call to __stack_chk_fail() then panic. The Linux kernel CVE team has assigned CVE-2023-53491 to this issue. Affected and fixed versions =========================== Fixed in 6.4.4 with commit 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56 Fixed in 6.5 with commit 514ca14ed5444b911de59ed3381dfd195d99fe4b 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-53491 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/powerpc/kernel/smp.c include/linux/compiler_attributes.h init/main.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/25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56 https://git.kernel.org/stable/c/514ca14ed5444b911de59ed3381dfd195d99fe4b