Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5311360ybl; Tue, 14 Jan 2020 06:58:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyo4vdK2ud4qsmCIL0IAvvT855/DDgRDoK0KpDI57UnRxKVLFNh4cIgYUCJF5Dvv7zUfM5N X-Received: by 2002:a05:6830:1e09:: with SMTP id s9mr17714148otr.139.1579013909496; Tue, 14 Jan 2020 06:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579013909; cv=none; d=google.com; s=arc-20160816; b=p6G3bKuwAqzkRt78gpG73UphzAwhqjv4aBwOXfQqbyjHjPK50y07Kpn/J7H6q1jo7f Nd85UMEOyLoNOaHy2+n7c07k3R+VHFVddNOlqG97TCL2ghRyZBvRKsF9yXa++GAYoe2/ p345zCrJOpEyruco3eEoUmrJuldbVN6rPQa5EOLqkmt2roRg3ZM4X8jmyWOT29sqEx4K BMN2qNqwkZ4NgN8LeleumirgHsTXwmH041C1Fqjqs/sYOHyc1bKVX/1nRSX+/2Fhp1LZ gP/u0Dh5Zj0XQ9LJB9rnQJeIoDV3oBCvoh2CPIteKVWgV/SJsDdOBAEEKcKfFWY4OeOW MZNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject; bh=KIBd29Xy5esQDr8TPUSWkwG73ZDvtoe66TCjym1aIs8=; b=Ujbxs4aEVcjHp0elzbCdsE7Q34/svhpUVpTJjBYM4CnyI7PuonnKu/Y8MjQZQ2IViw s1LlyCoXZLMZ+ragGulhFWZJQRrgyp30BjjaTg+vb4LHmoYXcW4vIogSJ0xeBWK9EuHG P26BCzValfeB2Xqg5co7a886kRE3jTgZOS+ONW7WWjJd56oEG9P3JwUzTCbiGCr6VLg8 LGdQN8W+bc0hW4MqV3Spr1gfGpEq5ka800LKoNq0EG+3/rtM2cPjKng3Pnp2ue+dudxH YQnCuDrqESQSR7C4GXi1iumjITqjd9dEPEs1dUfn1seyHxpblSuTjne/ztawTmyw6AG1 S6JQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si7641810oip.277.2020.01.14.06.58.17; Tue, 14 Jan 2020 06:58:29 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729045AbgANO5M (ORCPT + 99 others); Tue, 14 Jan 2020 09:57:12 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:2486 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727092AbgANO5L (ORCPT ); Tue, 14 Jan 2020 09:57:11 -0500 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00EEqqEV103289 for ; Tue, 14 Jan 2020 09:57:11 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xfaw04g1g-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 14 Jan 2020 09:57:09 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 14 Jan 2020 14:56:59 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 14 Jan 2020 14:56:55 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00EEusPu65208380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Jan 2020 14:56:54 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5C0F552051; Tue, 14 Jan 2020 14:56:54 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.223.52]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 47F0A5204F; Tue, 14 Jan 2020 14:56:53 +0000 (GMT) Subject: Re: inconsistent lock state in ima_process_queued_keys From: Mimi Zohar To: Dmitry Vyukov , syzbot , Lakshmi Ramasubramanian Cc: Dmitry Kasatkin , James Morris , linux-integrity@vger.kernel.org, LKML , linux-security-module , "Serge E. Hallyn" , syzkaller-bugs Date: Tue, 14 Jan 2020 09:56:52 -0500 In-Reply-To: References: <000000000000486474059c19f4d7@google.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20011414-0020-0000-0000-000003A09735 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20011414-0021-0000-0000-000021F80C57 Message-Id: <1579013812.12230.21.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-14_04:2020-01-14,2020-01-14 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 suspectscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001140128 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-01-14 at 14:58 +0100, Dmitry Vyukov wrote: > On Tue, Jan 14, 2020 at 2:56 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: 1b851f98 Add linux-next specific files for 20200114 > > git tree: linux-next > > console output: https://syzkaller.appspot.com/x/log.txt?x=12bcbb25e00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=3e7d9cf7ebfa08ad > > dashboard link: https://syzkaller.appspot.com/bug?extid=a4a503d7f37292ae1664 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > > > Unfortunately, I don't have any reproducer for this crash yet. > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+a4a503d7f37292ae1664@syzkaller.appspotmail.com > > +Lakshmi, you seem to have submitted a number of changes to this file recently. > > This completely breaks linux-next testing for us, every kernel crashes > a few minutes after boot. > > 2020/01/14 14:45:00 vm-26: crash: inconsistent lock state in > ima_process_queued_keys Yikes!  Are you running with an IMA policy?  I assume this is being caused by commit 8f5d2d06f217 ("IMA: Defined timer to free queued keys".  Does reverting it prevent this from happening? Mimi