From patchwork Tue Aug 6 22:50:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuxuan Luo X-Patchwork-Id: 1969709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WdpSD6Fzbz1yfh for ; Wed, 7 Aug 2024 08:50:52 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sbT0s-0005bs-D8; Tue, 06 Aug 2024 22:50:42 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sbT0q-0005bJ-I1 for kernel-team@lists.ubuntu.com; Tue, 06 Aug 2024 22:50:40 +0000 Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 6A84D3F287 for ; Tue, 6 Aug 2024 22:50:40 +0000 (UTC) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-79efb1181ddso108614585a.1 for ; Tue, 06 Aug 2024 15:50:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722984638; x=1723589438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UzNBmxnZBQznJl8AkOO/aPMinGHAEqPMwebWJdRqdFo=; b=K3maZDoV7iXtEaKBeBOLypGVi+i1ieevCgZ6beE1nJ4Z1894pdyNoNZV74B+l4N17u K1SePHu65jnyt7OfyYU9egUrOmsj9cRb6nFyvk3yJPDUx2dtQFEYZ4ksaJVgA2kLwlDJ AblPdmKv2JRlf9lYybGtwbqT3bo5xlSsafhbBBSfHoyIWdXMy5YWA6ueijxQFPMzTr9R hH/eukA6PyYJ4ZsE5NtAkGv6t4BEInYcXAlSQpFkLkAI0+uCy18nAo+3v6b0ErYlBnbM 5K9X264APs/tSr0fFVM6lQCewBDzmA67lFF3E+UEP/2E/j0bKBouruwT95no5Rx1neFC cb1Q== X-Gm-Message-State: AOJu0YxIiz1jo7VcJxJqRFqZaYrphCYgAXr5BIAtJPCKBrDfwzPMVkSo KLTZ1Vc5Ra884o5bo8zdS2VeFVdedsI8o/JyiTqDOmUQU52JKd06yKcIkNpCvCke0FMQIj5/SZO PMzpYoYkkPqapIe9cP9I02qbMB1S8EbGIppLLCEJsXWIrNKLsQLSCy1F4FXFA6WN8LIpqz9RKmX nt25BM7GdmhgrR X-Received: by 2002:a05:620a:3915:b0:79f:329:6790 with SMTP id af79cd13be357-7a34efca0demr2180447485a.66.1722984638337; Tue, 06 Aug 2024 15:50:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhAeQIimQw8BvVbhT3nQPG/G/EGJ87L7FIWUQsEzDvEWM/v9dhMzc/okjidPyJUiWOLOcMWA== X-Received: by 2002:a05:620a:3915:b0:79f:329:6790 with SMTP id af79cd13be357-7a34efca0demr2180445985a.66.1722984637922; Tue, 06 Aug 2024 15:50:37 -0700 (PDT) Received: from cache-ubuntu.hsd1.nj.comcast.net ([2001:67c:1562:8007::aac:4795]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a3785e5c54sm4550885a.48.2024.08.06.15.50.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 15:50:37 -0700 (PDT) From: Yuxuan Luo To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/8] x86: Fix misspelled Kconfig symbols Date: Tue, 6 Aug 2024 18:50:26 -0400 Message-Id: <20240806225033.4181439-2-yuxuan.luo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240806225033.4181439-1-yuxuan.luo@canonical.com> References: <20240806225033.4181439-1-yuxuan.luo@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Lukas Bulwahn Fix misspelled Kconfig symbols as detected by scripts/checkkconfigsymbols.py. [ bp: Combine into a single patch. ] Signed-off-by: Lukas Bulwahn Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20210803113531.30720-7-lukas.bulwahn@gmail.com (cherry picked from commit 6bf8a55d8344df1f61a29b18c398bcdf3539e163) CVE-2024-25744 Signed-off-by: Yuxuan Luo --- arch/x86/include/asm/ia32.h | 2 +- arch/x86/include/asm/irq_stack.h | 2 +- arch/x86/include/asm/page_32.h | 2 +- arch/x86/include/asm/uaccess.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h index 2c5f7861d373c..fada857f0a1ed 100644 --- a/arch/x86/include/asm/ia32.h +++ b/arch/x86/include/asm/ia32.h @@ -68,6 +68,6 @@ extern void ia32_pick_mmap_layout(struct mm_struct *mm); #endif -#endif /* !CONFIG_IA32_SUPPORT */ +#endif /* CONFIG_IA32_EMULATION */ #endif /* _ASM_X86_IA32_H */ diff --git a/arch/x86/include/asm/irq_stack.h b/arch/x86/include/asm/irq_stack.h index e087cd7837c31..22c5aa03ac77b 100644 --- a/arch/x86/include/asm/irq_stack.h +++ b/arch/x86/include/asm/irq_stack.h @@ -58,7 +58,7 @@ * the output constraints to make the compiler aware that R11 cannot be * reused after the asm() statement. * - * For builds with CONFIG_UNWIND_FRAME_POINTER ASM_CALL_CONSTRAINT is + * For builds with CONFIG_UNWINDER_FRAME_POINTER, ASM_CALL_CONSTRAINT is * required as well as this prevents certain creative GCC variants from * misplacing the ASM code. * diff --git a/arch/x86/include/asm/page_32.h b/arch/x86/include/asm/page_32.h index 94dbd51df58f8..b13f8488ac854 100644 --- a/arch/x86/include/asm/page_32.h +++ b/arch/x86/include/asm/page_32.h @@ -43,7 +43,7 @@ static inline void copy_page(void *to, void *from) { memcpy(to, from, PAGE_SIZE); } -#endif /* CONFIG_X86_3DNOW */ +#endif /* CONFIG_X86_USE_3DNOW */ #endif /* !__ASSEMBLY__ */ #endif /* _ASM_X86_PAGE_32_H */ diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index 3616fd4ba3953..09b4958f5e474 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h @@ -412,7 +412,7 @@ do { \ : [umem] "m" (__m(addr)), \ [efault] "i" (-EFAULT), "0" (err)) -#endif // CONFIG_CC_ASM_GOTO_OUTPUT +#endif // CONFIG_CC_HAS_ASM_GOTO_OUTPUT #ifdef CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT #define __try_cmpxchg_user_asm(itype, ltype, _ptr, _pold, _new, label) ({ \