Message ID | 20230705123425.764300-2-cascardo@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=I7j+9Tjy; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (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 4Qwzf80vtwz1yV0 for <incoming@patchwork.ozlabs.org>; Wed, 5 Jul 2023 22:35:44 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1qH1jP-0003Ss-LI; Wed, 05 Jul 2023 12:35:39 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <cascardo@canonical.com>) id 1qH1jN-0003S3-RP for kernel-team@lists.ubuntu.com; Wed, 05 Jul 2023 12:35:37 +0000 Received: from localhost.localdomain (1.general.cascardo.us.vpn [10.172.70.58]) (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-canonical-0.canonical.com (Postfix) with ESMTPSA id 7296F41430 for <kernel-team@lists.ubuntu.com>; Wed, 5 Jul 2023 12:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1688560535; bh=yqN6b3A0r5rb9iRQV5wPJvathpu8Yj5wsTJHpM6WjQ8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=I7j+9TjyDi+hUnwxa9w6wSZ5NaNxIW3/Qh/Fm1Aesgg06SiovHnKvqDDmlDr4Vtqm kNE5Rm98L+TR/4SDx66vDhy7qxApVO1aEJLKyP3WQZFVY8qDdRFNYg0X89LI4uNlEm o/GFs8uKatZfu20e00ah2b3Zddo1R/tcQFMilI0BY+EcfbzTqlFLXRLwPaODg5Bl++ UVUOoBcZL4EUHYkza5nf3lER6OOlEGfGJJ8Mc5Rqx7oNvwQZuBb8+5toBSkNWqH5Nv B256CQndgfKEG5wbs6qemshBJTUaiidC+mlaP2IVPiffQLsJKOMN1MZi5Re8nIjcF0 aLinfucu/NI+w== From: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU OEM-6.1 01/14] exec: Remove FOLL_FORCE for stack setup Date: Wed, 5 Jul 2023 09:33:59 -0300 Message-Id: <20230705123425.764300-2-cascardo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230705123425.764300-1-cascardo@canonical.com> References: <20230705123425.764300-1-cascardo@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 <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
CVE-2023-3269
|
expand
|
diff --git a/fs/exec.c b/fs/exec.c index a0b1f0337a62..19364a5d35ee 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -199,7 +199,7 @@ static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, { struct page *page; int ret; - unsigned int gup_flags = FOLL_FORCE; + unsigned int gup_flags = 0; #ifdef CONFIG_STACK_GROWSUP if (write) {