Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp317665rdb; Thu, 5 Oct 2023 07:00:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnuzLmkcxkntvQe6S2t7VhlWYJiPjTKTxLXYLD1zEMsVslySyLA7Jgc/8P1a8XjxFdVHuz X-Received: by 2002:a05:6e02:1c29:b0:34f:efde:ec7c with SMTP id m9-20020a056e021c2900b0034fefdeec7cmr6211483ilh.28.1696514401176; Thu, 05 Oct 2023 07:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696514401; cv=none; d=google.com; s=arc-20160816; b=xlCg2WCOpQ3WxaiaBB38HOjv/PVigGD1uAqFKzTAEt1oTJf/+LFSgvuPTTqed8njbF rTkS2IRHxjQy/zNS0aednnmhXcHHJhOO+cnJF3QrBoZqhFD4XVbSoaNiCrfu0xg4zLI5 lqrxBiXqK073ZjP7wpgIfQy7qSW6HLoYK7jiPBSWn+kH3DeBgfcIU40mwaAr7rOAv26u k81wQG+Hyei0YXX9z6kAbjTurkcedu9iIsqSQ8AwC+EsqvKV8xGZgQM86FuXXwdM2I/n mRyu3dvmXBpoShS4Oua2PHp1F1EEhhO0Nd2Li+8JdRV24SEm8iLcDMxNQTvcMB/E9D0k 5nuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lA6+xMHo1V0jyHxa3B2EhwgcTn/GiHjuNP/IimGuAGY=; fh=8L9I7Bq0YbqIISF9xqw1q/ur7QKG0MRrn9T4tQM9iTA=; b=rz2j/dNRyRHw+J2uiueXSz90ctbiPJoyD/SNoqYypFChbfnQiW9+jg3IRYPLvXTVOF Z6adfUCZQrbQ4aClqQw6t/kCWaL7asORa+4gB/zSfy/lWBjofJU/Yvg4ptV6Afclovmf X4gsklVK5o5cHZD6vLQpbnHmCBoTNlhpCJAnTOI1yeNPDulG5/cqRFbGcmNMgd2VuFqR lmhdPDKwYcu9cij4Ebj/SiEM+ttLzNYGGFedDEWDHFZA0Vusf8JuD3rYEN7QXrLn8dFX gkiFc2WLEwX7ibQGLQeBd3whKJquabadKeiqhufkKOZfaDQ46iUYawU4HoeLivstti7V 0N8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lSSKUsH6; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p20-20020a639514000000b00584a8c7cb41si1492689pgd.225.2023.10.05.06.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:00:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lSSKUsH6; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0087382492A4; Thu, 5 Oct 2023 06:59:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232124AbjJEN7y (ORCPT + 99 others); Thu, 5 Oct 2023 09:59:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbjJEN5x (ORCPT ); Thu, 5 Oct 2023 09:57:53 -0400 Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346F71BF5; Wed, 4 Oct 2023 20:55:47 -0700 (PDT) Received: by mail-ua1-x929.google.com with SMTP id a1e0cc1a2514c-7b07548b085so215384241.2; Wed, 04 Oct 2023 20:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696478146; x=1697082946; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lA6+xMHo1V0jyHxa3B2EhwgcTn/GiHjuNP/IimGuAGY=; b=lSSKUsH6kUaZ71cGYKmxXa1PTFl6zXqTT8y7mWegBA4WslgxEpZCvx9AhmYr79iMjH 47ma2Z0+uCd3jG7j9nCzhwNUcSOEgInEc2uh0dXXA84bR8WpL9Yk3KGk/kbgy/6MvzKB g28BUGTYjdegL/YhP7i6MFTBKx2K9YEseE5/rYh/0OQQTgZw9STFwMVoKM2snFzN0Ve9 +GnB+miKYgP/uo+I+8s0tLyLDUQPCts9eAvw6nH2a4oiIh4nUSW4fywp37pD1mzOzIKs MNr5rUYddExHHoBJw3Zo4awJfjdyUQUHLuEQrdqxgzoLGCQJqrGSveXne6cxQtcRY1/s cEEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696478146; x=1697082946; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lA6+xMHo1V0jyHxa3B2EhwgcTn/GiHjuNP/IimGuAGY=; b=Bz5Vn/xZGaD140JWgTQ9ChRgYY6czdnU6UpzIHp4cY4XVKLXKWjM4Uc4z5lq+Wgftv xNnTEmHep3ttld/75bTfeQ7dkGzYrV+Wu1Hwd4levGjxD+SYGKoxC90MKv4bDmraOQf6 2a2muzPB5ioGt5uU66eKfU83g1KnqP3uEo6ez/zAvtvojvVw1K1qgYAW9OlGcQDjYDCc GZE8QH6vEKqWPIe+uS9A3XH0cutC7SWjxsOpTr+R1dUXacygegu5EVg75Xwy8LtXk8k0 Lsdlcqw0cjcK6nwQEEGwxSx0lLc/4hRvhR+X7GHQXMSoEbloP8tRf/FrY5Sw8HREN4w7 CWjA== X-Gm-Message-State: AOJu0YxeYDTytnjwxHB7MBgMq2PIuljvNHPFUDhDqBgWYVOJwuFWNRHb dzHyQxihaxRPE/fLLahBVMii2/Hfmz2jfT/1J3E= X-Received: by 2002:a67:f7cf:0:b0:452:c3a4:1f99 with SMTP id a15-20020a67f7cf000000b00452c3a41f99mr3820165vsp.4.1696478146227; Wed, 04 Oct 2023 20:55:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Sanderson Date: Wed, 4 Oct 2023 20:55:34 -0700 Message-ID: Subject: Re: Linux 6.1.52 regression: Intel QAT kernel panic (memory corruption) To: Giovanni Cabiddu Cc: Linux-Kernal , qat-linux@intel.com, Greg KH , Linus Torvalds , Linux Crypto Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 06:59:59 -0700 (PDT) On Thu, Sep 14, 2023 at 10:55=E2=80=AFPM Giovanni Cabiddu wrote: > > On Thu, Sep 14, 2023 at 10:27:22PM -0700, Kyle Sanderson wrote: > > Hello Intel QAT Maintainers, > > > > It looks like QAT has regressed again. The present symptom is just > > straight up memory corruption. I was running Canonical 6.1.0-1017-oem > > and it doesn't happen, with 6.1.0-1020-oem and 6.1.0-1021-oem it does. > > I don't know what these map to upstream, however with NixOS installed > > the same corruption failure occurs on 6.1.52. > This is probably be related to [1]. > Versions from 6.1.39 to 6.1.52 are affected. Fixed in v6.1.53. > > [1] https://www.spinics.net/lists/stable/msg678947.html > > Regards, > > -- > Giovanni Thank you Giovanni - that appears to have been it. Ubuntu 6.1.0-1023-oem (v6.1.53) no longer reproduces the issue. K. On Thu, Sep 14, 2023 at 10:55=E2=80=AFPM Giovanni Cabiddu wrote: > > On Thu, Sep 14, 2023 at 10:27:22PM -0700, Kyle Sanderson wrote: > > Hello Intel QAT Maintainers, > > > > It looks like QAT has regressed again. The present symptom is just > > straight up memory corruption. I was running Canonical 6.1.0-1017-oem > > and it doesn't happen, with 6.1.0-1020-oem and 6.1.0-1021-oem it does. > > I don't know what these map to upstream, however with NixOS installed > > the same corruption failure occurs on 6.1.52. The stack traces give > > illegal instructions and all kinds of badness across all modules when > > the device is simply present on the system, resulting in a hung > > system, or a multitude of processes crashing and the system failing to > > start. Disabling the device in the system BIOS results in a working > > system, and no extreme corruption. kmem_cache_alloc_node is the common > > fixture in the traces (I don't have a serial line), but I suspect > > that's not where the problem is. The corruption this time happens > > without block crypto being involved, and simply booting the installer > > from a USB stick. > This is probably be related to [1]. > Versions from 6.1.39 to 6.1.52 are affected. Fixed in v6.1.53. > > [1] https://www.spinics.net/lists/stable/msg678947.html > > Regards, > > -- > Giovanni