From patchwork Thu Oct 17 20:58:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuxuan Luo X-Patchwork-Id: 1998762 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 4XV0YV71Z6z1xvc for ; Fri, 18 Oct 2024 07:58:38 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1t1XZk-0003NS-R7; Thu, 17 Oct 2024 20:58:28 +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 1t1XZf-0003My-HD for kernel-team@lists.ubuntu.com; Thu, 17 Oct 2024 20:58:23 +0000 Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) (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 3F7213F458 for ; Thu, 17 Oct 2024 20:58:23 +0000 (UTC) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-7cbe272efa6so1205192a12.3 for ; Thu, 17 Oct 2024 13:58:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729198701; x=1729803501; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ug0a6x0ZY6F+2kKXSVD4gZAkpKam5d/cg7db2mCEwVI=; b=djpeMQPUrBtB7OBOL/G8dSyNMSRfgAj8x96fI07ynUezITzh0mvrJCuUyJdCLu9A/I aRIrdl/Bh/6EMFWsm/Cs/x8NDMTmDqvPCJOK/dS3UBaoy+oy/nkCmV55eBhW8sbgRoBy RuzLfoo5L9MpLn1rVj3+hcBwy1XKXoq8kQnamIrcj5Sl5j2hN0JS+RudweF2RKtbX1jN ikrbpK7QjAQmQtF/ZbvRKviBm+/ibVqCMs5MtIzueMm/HthZyEJDcBnBQhThAGbCsR6Z dFk3bjnqfe/saOTQlyFIiAlM+V/jDNVh5zkOgYVrIgVzw42mpsIh/jCKi9JE1A9MTzX9 GPBQ== X-Gm-Message-State: AOJu0Ywt4cimZw9E4tLpov1vTdNXKgUCtSu6hT4OnSx3QoJI0u2ie9Ul NPDlLLfa5bDLpA9dM0DZI76efFPMNizIktAcqJQQnPuYo3hoL0myTSaqe+hM7jHy7M60jjgdZao OAyB5+VbWJfiFqVRRi09xv48JVMZ082v3KOtWlDjNsrZnx7hbwT0zNTCayHFMh5BvwVM2ThCDQ6 2T4X1IUFFFR7EF X-Received: by 2002:a05:6a21:114d:b0:1d9:2c23:66ff with SMTP id adf61e73a8af0-1d92c4ba7aemr216839637.5.1729198701615; Thu, 17 Oct 2024 13:58:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwUznPmEAvOfOD8urF04efElwY7TLA525dp135V6E7jUQeEAegDfVXB9C2RNN0NYU29PHdQQ== X-Received: by 2002:a05:6a21:114d:b0:1d9:2c23:66ff with SMTP id adf61e73a8af0-1d92c4ba7aemr216823637.5.1729198701215; Thu, 17 Oct 2024 13:58:21 -0700 (PDT) Received: from cache-ubuntu.hsd1.nj.comcast.net ([2001:67c:1562:8007::aac:4795]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea345acfesm86561b3a.152.2024.10.17.13.58.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 13:58:21 -0700 (PDT) From: Yuxuan Luo To: kernel-team@lists.ubuntu.com Subject: [SRU][F][PATCH 0/1] CVE-2024-42240 Date: Thu, 17 Oct 2024 16:58:06 -0400 Message-ID: <20241017205815.482327-1-yuxuan.luo@canonical.com> X-Mailer: git-send-email 2.43.0 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" [Impact] When BHI mitigation is enabled, debug handler issues a warning that could have been avoided under certain circumstance. [Backport] Solved the context conflict due to missing UNTRAIN_RET macro in our trees. [Test] No more debugger warnings after the patch. [Where problems could occur] CPU single-step debugging and BHI mitigation might be affected. Alexandre Chartre (1): x86/bhi: Avoid warning in #DB handler due to BHI mitigation arch/x86/entry/entry_64_compat.S | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Acked-by: Manuel Diewald