Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3945399ybl; Mon, 9 Dec 2019 02:50:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxzChXJhI1N2dGhpO83mFf0Ipvx2x1oSLQjYLOvoXmvmuYlfrdDAOyipARGIFyovj7DX0df X-Received: by 2002:a9d:7ac9:: with SMTP id m9mr20208244otn.80.1575888622865; Mon, 09 Dec 2019 02:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575888622; cv=none; d=google.com; s=arc-20160816; b=SZvLbmVmVljT5sMLCE5Y39Pes4+lE8dlCgPdKcQu0uSR9lJR6wT774Lq/PWlvUbQyn UbrqNJRt6ys/aE8/GbqXHTwmzC0kgAGeYw3+Z635hQ+tY6nbPv9hrB5alNFgXxNMD7lu 9eKmJn8zwnJ56FCsrn3Of4tpTjLe7fDuARQAxO+VMsfGnQEwjLSRTxy2KJTSXMh8f/Dr YXb/sMm3858bPOZiuc+uTQoR4RPyVF60XaZ/ferjfYEZfgldsXT4jv5DqvURTgLYmqqM rKqL8NBDYMH+RGWVp3bO6saZEJ2lldT8c59Z651cn7JnPztZZIdydWClQhocMaMuiefF rCmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=C4Q+HsCV15TDwyGwWFmr1PEAvr+EbwwdzSd6jNgVmx0=; b=hbcsSXzEqideEXn29TAW2JJ1AX3LcHccu4kOtKjfmaCTkdZdNiaF8ggA4aq9eP613W piOuNfgfTWVcFCx8w6GpgkaJZGciJfN/CeletEGq9oi0r3cKMZ9IU0lTGwVtCjeqzd11 rUBndTGisvKPybhCB43XqNKhuP7+LE6SECqI4j4Vd9/SXnsqMF8qRboJS+NmYrTmXO+q wq8wMqPIj/7btXYM/qN+XFjogmtNXZj9A/wQoh+9nqV2EKKc1veGaE5+lYkd0yCcdgrj xtpNj0pIHvn/Rx/ovEnbfeyiT7zLyyK36lXsFmlDAur7MNbweTnE2INBLzWT4e7mxVBJ GIGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z6OjGbvd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si11919115oie.215.2019.12.09.02.50.11; Mon, 09 Dec 2019 02:50:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z6OjGbvd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727526AbfLIKeh (ORCPT + 99 others); Mon, 9 Dec 2019 05:34:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:49944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbfLIKeh (ORCPT ); Mon, 9 Dec 2019 05:34:37 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FD7B2077B; Mon, 9 Dec 2019 10:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575887676; bh=J+F+a3mv9evZz/xMVs7tWTVa5ygDM4L/pYf6W5zxScI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z6OjGbvd5UndR5pdeV8AyJbhe2sMngS6qmECGpWC5XD3b7hnQaGnElOEXo/4w+1nO n7cbbH1Mdno3rxiEtsD5vlTDN0+rgTIVFVD4yEHLXLgepQK9FGUEYFl8p1PMkIVw+S TH3oUBrtbr8AWct+gZFynCsmyBciAWz3/Gp+ac+U= Date: Mon, 9 Dec 2019 10:34:32 +0000 From: Will Deacon To: Jeffrin Jose Cc: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgg@ziepe.ca Subject: Re: [PROBLEM]: WARNING: lock held when returning to user space! (5.4.1 #16 Tainted: G ) Message-ID: <20191209103432.GC3306@willie-the-truck> References: <20191207173420.GA5280@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191207173420.GA5280@debian> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, [expanding cc list] On Sat, Dec 07, 2019 at 11:04:20PM +0530, Jeffrin Jose wrote: > i got the following output related from typical dmesg output from 5.4.1 kernel Was this during boot or during some other operation? > ================================================ > WARNING: lock held when returning to user space! > 5.4.1 #16 Tainted: G E > ------------------------------------------------ > tpm2-abrmd/691 is leaving the kernel with locks still held! > 2 locks held by tpm2-abrmd/691: > #0: ffff8881ee784ba8 (&chip->ops_sem){.+.+}, at: tpm_try_get_ops+0x2b/0xc0 [tpm] > #1: ffff8881ee784d88 (&chip->tpm_mutex){+.+.}, at: tpm_try_get_ops+0x57/0xc0 [tpm] Can you reproduce this failure on v5.5-rc1? Thanks, Will