Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4366119rdb; Thu, 14 Sep 2023 22:55:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJ9+qSzBGeTGm/IoT95208EtPQqALcCvkrLcxCBgEQDfzzLthAhOt6IOOE3aU8uYqT/ZzQ X-Received: by 2002:a05:6a20:a586:b0:15a:6733:24e2 with SMTP id bc6-20020a056a20a58600b0015a673324e2mr977494pzb.25.1694757340274; Thu, 14 Sep 2023 22:55:40 -0700 (PDT) Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g8-20020a6544c8000000b00573fa8f2829si2740864pgs.383.2023.09.14.22.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 22:55:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SQ573i3k; arc=fail (signature failed); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C2AC683033A1; Thu, 14 Sep 2023 22:55:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbjIOFza (ORCPT + 99 others); Fri, 15 Sep 2023 01:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbjIOFz3 (ORCPT ); Fri, 15 Sep 2023 01:55:29 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE0961BC7; Thu, 14 Sep 2023 22:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694757324; x=1726293324; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=qchAMYZNQPXK7Ecv2VEkTgAdQJ/Z4ff3JboIgSfuXeY=; b=SQ573i3k5rzHk8qL+CUimc+tKAzcfxO7+KvlsOZLl0UlzrC1ODvv9BLb mefMOzHgcY2mxzRetcGygaZbDeFcrHfVKDimJtQrp93ekpJ83l9vljIxQ xjgYLS8isk39rOcs3ZO7OhdcHpBkCJqGAjgJwXKVpkPb0ZbC7ZswA/9v/ 8f0QQZXUuzInlLHcitRgvRK2HYczLjqzfuVduI2pxz/uqVGLeFKrFYNxG StwO7gpmLw4e4iBTOnv1ZZKgbgkZ8boz0E2lMh36cMadmIkx7jd/mCemQ 9LwlxLKK0PlcWrAccfio55WnNAsHf4MUkOHlXnkOkHsHZVHB8LT/VWeTa w==; X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="465529913" X-IronPort-AV: E=Sophos;i="6.02,148,1688454000"; d="scan'208";a="465529913" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 22:55:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="860029118" X-IronPort-AV: E=Sophos;i="6.02,148,1688454000"; d="scan'208";a="860029118" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Sep 2023 22:55:24 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 14 Sep 2023 22:55:23 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Thu, 14 Sep 2023 22:55:23 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Thu, 14 Sep 2023 22:55:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FhYsG0BQrbTf3G/d//oRcxLNl/ExpIw6lI+B4pUTra02/MZQlC4iz5OY6jmsRwpN2Z0adccYrZiNOESe2YVyv+XHh63r5Aa3pjJkv2bNRCFcPHjb/SKU0avDbaIKmeOoUt37mfjfM/qZ1CpgI3ad2CgW5hhMw83iH3jNqRkZhsBTWcjuYAC9O74aZke6taUG6KVy1q9JDNd2XPcEq6CIMb7cHAtf+TsvqqxglIOgJxaiFL/JyJSSPnr6oB8T/1VDbyeFcpuao3jgPT6RQPw+1QsuNGMDUzt/t0jPKUmJdHL8Bb4IKw7girYLEgXAEmj0m5FucKlZqOax4Ukv72rRlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dNjUKDwaKswr+ylWJMM7V/+CMj5TmcIsXCegaJx81co=; b=SFRxg8zhWRsIyfcPGwMFOjgmE/pAOVgYb2tN0UQ9/GI2b6vEKCSLqRyMvgPDtcN2fqn22seXhLT49fKTtsfniQP2rP2lO/9FCCHHilUFkWwW42boDdgZrjXUcbLHH6ww4N4t8UncqNdjcJAMNvRMthjNmE0rH73zoWcpSXyegWii8KKNtIjQH4Gx8Or5OB4jnq0BcBpEOTHMtLr3OWNjkd11IvszSW5hq3kScpUCeSz9EfhaWYdsCYWQNtdJJXYjtjprxVbV75pAWi5TtXwxGn+76TwSWe+qq3hfnt+TGxEv4uPpRDgn05qbtt1dsXxFQYXto2LcA5NdA93PPg+9eg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY5PR11MB6366.namprd11.prod.outlook.com (2603:10b6:930:3a::8) by DM4PR11MB5280.namprd11.prod.outlook.com (2603:10b6:5:38b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.21; Fri, 15 Sep 2023 05:55:15 +0000 Received: from CY5PR11MB6366.namprd11.prod.outlook.com ([fe80::f8a8:855c:2d19:9ac1]) by CY5PR11MB6366.namprd11.prod.outlook.com ([fe80::f8a8:855c:2d19:9ac1%6]) with mapi id 15.20.6792.020; Fri, 15 Sep 2023 05:55:15 +0000 Date: Fri, 15 Sep 2023 06:55:05 +0100 From: Giovanni Cabiddu To: Kyle Sanderson CC: Linux-Kernal , , "Greg KH" , Linus Torvalds , Linux Crypto Mailing List Subject: Re: Linux 6.1.52 regression: Intel QAT kernel panic (memory corruption) Message-ID: References: Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Organization: Intel Research and Development Ireland Ltd - Co. Reg. #308263 - Collinstown Industrial Park, Leixlip, County Kildare - Ireland X-ClientProxiedBy: DUZPR01CA0257.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b5::29) To CY5PR11MB6366.namprd11.prod.outlook.com (2603:10b6:930:3a::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY5PR11MB6366:EE_|DM4PR11MB5280:EE_ X-MS-Office365-Filtering-Correlation-Id: d8a4380c-c920-42a1-a9a2-08dbb5b05504 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dqh9kQo2WVC2JvsxRcnfg+Kok6WQDu9LpBlIUF3j/0tZNGChet/sl2ybtzLeyolFmoIJWzHRhDPkKsR4+lcqcE+xdyjFeWywpnUnwCrDZ2fHUcpyFXKUIrnoXbJwsPQasyWBmFEykznjrSBu1F/SQa95kKCzOI1+aptHIKSDeQA1g/sNEf679VCgvwRKIYXuy4WMXDt9pnHSBhYTuxS6ynnutEFus7yHBVy/oVGHMd5ZjESOuhXNV/BKk+myqR36oI2nMCQerOfwgU3mhAl/bMy0EV9M69qB3y/eOZ4W5Fl+XYtgYI7poX21X7bxadebiNrO2RsZ/kyWcOz8BELVyB5uSoE4//KxM+9pKY+oBQ0QgJvFKmCYPCum9Uf33efQTjBzUIXulWuaWXUhHzLh4o++xyki97CWODESuaGK98Wk5+Vm1KlR5GYXOE8/Vy28sCII86byce1JR+H4tyyv40g74PvVe1ozDnRb4a+uubt2EHe0rvtCjNgkX1EiXB0Z1fdT7byWbbjxHUdaz0tyM/ZoIZqfGg/TL/452suO/OU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR11MB6366.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(346002)(376002)(136003)(396003)(451199024)(1800799009)(186009)(44832011)(8936002)(8676002)(5660300002)(4326008)(6512007)(6666004)(6486002)(26005)(83380400001)(6506007)(36916002)(478600001)(86362001)(41300700001)(316002)(6916009)(54906003)(66556008)(66476007)(66946007)(2906002)(966005)(38100700002)(82960400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?WYA6Hoc+OLxR/riseT5vR+i329oX0Gp+1Fxwe3rVDs07yAyLIVvYYKkZODFx?= =?us-ascii?Q?CHhpvK0sHqeBfC57wS+tsshV0qq0E/6YQkaW2MT4g17VPu7sv78Sbt+wiJUd?= =?us-ascii?Q?oePTfFOPnLnSh42LfHgzpgI12EAhh1ZB7Y9xBkR1yRRYUqB2ik2u4o91/V4M?= =?us-ascii?Q?6sCy+tvf2c8gizZ+8oWD6m1pOqtmc1TrCsWxGq2C1lEggOzqfls1Pbin0cGq?= =?us-ascii?Q?gEmmeZh6zJB/S0Tv+60WvZg0gMQ/pbzCRC74Aaj4ulHZ+JO8+7bV/PpBRl/V?= =?us-ascii?Q?Rt7uy4aRcWgFRu3VuAb+Oy1GPRDQbk5vUvYPwkkFuzI5LTdEViKr5gu/5zG9?= =?us-ascii?Q?64N0HVg/aR1EV6pxMki5/5aXnA5NY/Gc3x3Kv9UHXLuuzeaAxEkm9g4WcuQd?= =?us-ascii?Q?b76F99RRG8qiawklWdvsiS5igddLakdXwureUMz9b0VdLIDfFqqoDnxIROW9?= =?us-ascii?Q?e6Gm0r0oFiXUOT+gpzFM8HdHWahVO/PmKNCEFvIggbv1lm7shG5/uiP0Wy7m?= =?us-ascii?Q?dtZD0nnkUXS8v6AelLbSMEioI51CtXiW4JGFGd7pBGPvWwNwSymPYr1CSCod?= =?us-ascii?Q?m/W1477+Rr5rt8BQNRrqyy8Avq5pUYvjFPIPlAAi+kdGytK+AY2VBcEKX3mr?= =?us-ascii?Q?ZhhoG/OeAmwe8jdBRVv0665gEfrJrIQyP8XcZy6+tubegJvkyNayzsf/IWAp?= =?us-ascii?Q?seR3vDdmZGzKdgxgTyumUSd10HWDFT5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=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: d8a4380c-c920-42a1-a9a2-08dbb5b05504 X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6366.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2023 05:55:14.9575 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: j6CqHv7Ug2nctigSasw/GB/14J9RrNSGLIm4ZFM0Q3IE4avafr+05OaGFRSbQLXFgIgTa8ZNDy4hd6YZXjhs+T712AKqHlue59OkR7cbjqI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5280 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 14 Sep 2023 22:55:37 -0700 (PDT) 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