From patchwork Mon Aug 19 14:21:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1973854 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 4WnZXw2l15z23Rl for ; Tue, 20 Aug 2024 00:21:51 +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 1sg3GO-0005iE-Pe; Mon, 19 Aug 2024 14:21:40 +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 1sg3GN-0005hu-3g for kernel-team@lists.ubuntu.com; Mon, 19 Aug 2024 14:21:39 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 DD1D0423A0 for ; Mon, 19 Aug 2024 14:21:38 +0000 (UTC) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5beb6b82434so2807797a12.1 for ; Mon, 19 Aug 2024 07:21:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724077298; x=1724682098; 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=4KI2DbxaHIvRBMqE8jTWV1bHUvwNoURwwM324hHnrME=; b=E8NSn+OUwyl1Pz3YmR8s7v60GDj8eEcjUFhYBFeT+dL3TG6QQRFXuEUvBAGzX1b1r0 DgQHJjQyl5I2M/scJOpDEocAvVuw+RnSnKfTA/F8KGadQpGz8JA+u2G1SHq/TCXopo+s ONPF9e7Y6tKc1HxoBRCGrx13Q+LeEC7dwT1jipwp+LY9U4EZ56j0EjWB8YYjlgG57LDC TSYShe9esPk3FfceqzSenVRL2K0jAucsQhPsNjM1vFp3+2fUAAPijWYGRhYDM7r9rmfb LXTFQkjN80oPVYFXOCoS41jByxi6FCY0v8rC2bNYTBRidDgqroGG9wA3cg9qBhhe1mG7 vxXw== X-Gm-Message-State: AOJu0Yxgh6V9u0xHGBPjoCsOzhN4k+dkek5IRFdyXxl54gX708UALn78 ujzPFyEYt0ELDhBLDHPXHsPlgxFalHF1HHrQmaBk7EVzkeliBiTjEgHiQIHcKd0vWbjN3Tbma6K aw55bJ8PuZ7N6KaPar3p1LV22jPg9eHAoS67Spw01UbhvxJXBGW2rqErhvfj6KwmmRi5sqUVfL6 F9SXfEs0P7QA== X-Received: by 2002:a05:6402:4303:b0:5be:f564:eb0f with SMTP id 4fb4d7f45d1cf-5bef564ed68mr3122213a12.1.1724077298458; Mon, 19 Aug 2024 07:21:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0ZtTl1ct9JYO1qGcdDMmYvvkUGTUlvRnV+B4D7skvRaVcUnQg+m5QvoDSdalHesLZVA4abw== X-Received: by 2002:a05:6402:4303:b0:5be:f564:eb0f with SMTP id 4fb4d7f45d1cf-5bef564ed68mr3122174a12.1.1724077297656; Mon, 19 Aug 2024 07:21:37 -0700 (PDT) Received: from localhost ([81.221.247.52]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bebbde3edfsm5616476a12.29.2024.08.19.07.21.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 07:21:37 -0700 (PDT) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][F][PATCH 0/2] CVE-2022-48791 Date: Mon, 19 Aug 2024 16:21:33 +0200 Message-ID: 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" https://ubuntu.com/security/CVE-2022-48791 https://warthogs.atlassian.net/browse/KERNSEC-13740 [ Impact ] Potential use-after-free for aborted or racy completed SAS TMF (task managament function) task. [ Test Case ] Compile tested only. [ Where Problems Could Occur ] Modifications are limited to the PM8001 SAS driver, so only users with that HW might encounter issues. Igor Pylypiv (1): scsi: pm80xx: Fix TMF task completion race condition John Garry (1): scsi: pm8001: Fix use-after-free for aborted TMF sas_task drivers/scsi/pm8001/pm8001_sas.c | 39 ++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 17 deletions(-) Acked-by: Cengiz Can Acked-by: Manuel Diewald