Message ID | 20230807210531.51908-2-yuxuan.luo@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=g4GNP7SJ; 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 4RKTPT5qp8z1yfM for <incoming@patchwork.ozlabs.org>; Tue, 8 Aug 2023 07:05:48 +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 1qT7Q3-00084a-3z; Mon, 07 Aug 2023 21:05:39 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <yuxuan.luo@canonical.com>) id 1qT7Q1-00084J-1q for kernel-team@lists.ubuntu.com; Mon, 07 Aug 2023 21:05:37 +0000 Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (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-1.canonical.com (Postfix) with ESMTPS id E3F423F17B for <kernel-team@lists.ubuntu.com>; Mon, 7 Aug 2023 21:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1691442336; bh=0VFuhkyjqxxJ61B6U7QWEavOoTniyUdDBOUiegtTXDI=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=g4GNP7SJqIhhW1oMpqoHJteJiKP+2J8Tg/TaMInEv6ogy2detJt/cMFoXseE4Gf0b kPSXFmTAoOzg5JKU0WgC2BdKbIpIsSsHzOc3J+KHUAfEF2ccOecCzJd6k4X29OJSIy tWKWdMlRs4WpP263UUl0X8gnFgXmGC6Gip0vX77QaXi3z2gz79gVr/nEK40sWAVBGv TcnQALFT1RseAOp1vqN3MXe8EB+VGkfFk3Njm9UWwttELwMNBP+M+VLHFep/7DRVRG Ghia+0f30AuKlLrbrnII5wzuKOSrIiG4GMSKPpuasVgoJRk+jL10fXr+RIVfhrcvCN 1vrk+DRtrpCXg== Received: by mail-vs1-f72.google.com with SMTP id ada2fe7eead31-4478d3706aeso948480137.0 for <kernel-team@lists.ubuntu.com>; Mon, 07 Aug 2023 14:05:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691442335; x=1692047135; 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=0VFuhkyjqxxJ61B6U7QWEavOoTniyUdDBOUiegtTXDI=; b=XzAMQQGXcWKFlY2XeELjrPM8F2ly4/KUldy0bXVZsx8Gd3fgCahbX7BTZcdDKZZLmN 7pJC7y/gU/sSWiEjUi7MqChgeku6piccxifJ6GZBl4y1QBcfXZAFrVbaoJJU1nnxdFY8 tV+0FHdKtNoFLw2oZ7LCuAewrUZPSaztReDDshyMAZhH7YPaKpurXR4OLdvIFRoFp3ST Ch6Sn+w04ZL5rOinVBO+2oPW9gtWQ8JZ2gg10pvYA9v5FINrHTrSZIuGKFz171pUNbbO dqfwcMZc6uhiCU7MgXFTpuzFCyXzcmrj2r/934KlMxmW68yzwAYhrGXlqPAQh8UzcKUG SdEA== X-Gm-Message-State: AOJu0YzwTqBnM9cqHwFTGOA6GUxWbGY1Z5bGtwJilIbboX806/Kx8cfA oMvvAPErFziLX90NP7iI+QG3i/39D/4rWt6v/k2GUtxFsQgEG3SWJEfPnIFOmoJxRVdtlXHGCKe wq4p8OS7I3OGkxAWdf/8+YgQmt09DWnjP/eO71ogfHsQmdkYvMw== X-Received: by 2002:a67:ba05:0:b0:447:6358:4392 with SMTP id l5-20020a67ba05000000b0044763584392mr3835118vsn.13.1691442335319; Mon, 07 Aug 2023 14:05:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsF1se/fkYJy4eCTLeeE7NdiPrGFMNG+3wO8Uu4oxxUKoB2ptr2CMZXsnvyUOZU1LDuGzSHg== X-Received: by 2002:a67:ba05:0:b0:447:6358:4392 with SMTP id l5-20020a67ba05000000b0044763584392mr3835104vsn.13.1691442334935; Mon, 07 Aug 2023 14:05:34 -0700 (PDT) Received: from cache-ubuntu.hsd1.nj.comcast.net ([2601:86:200:98b0:e473:a45f:5674:a297]) by smtp.gmail.com with ESMTPSA id 24-20020a05620a06d800b00767ed2e6436sm2855481qky.78.2023.08.07.14.05.34 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 14:05:34 -0700 (PDT) From: Yuxuan Luo <yuxuan.luo@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][F/J/K/L][PATCH 1/1] memstick: r592: Fix UAF bug in r592_remove due to race condition Date: Mon, 7 Aug 2023 17:05:31 -0400 Message-Id: <20230807210531.51908-2-yuxuan.luo@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230807210531.51908-1-yuxuan.luo@canonical.com> References: <20230807210531.51908-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 <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-3141
|
expand
|
diff --git a/drivers/memstick/host/r592.c b/drivers/memstick/host/r592.c index eaa2a94d18be4..dd06c18495eb6 100644 --- a/drivers/memstick/host/r592.c +++ b/drivers/memstick/host/r592.c @@ -828,7 +828,7 @@ static void r592_remove(struct pci_dev *pdev) /* Stop the processing thread. That ensures that we won't take any more requests */ kthread_stop(dev->io_thread); - + del_timer_sync(&dev->detect_timer); r592_enable_device(dev, false); while (!error && dev->req) {