Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp642412imm; Wed, 20 Jun 2018 04:24:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJkJKm1RERq7GjhzHWTXgMERrLZ2uTinh0LpHHt9V+zFb1NsDENyaTTrt/p+gOVoQ2ny/7w X-Received: by 2002:a17:902:925:: with SMTP id 34-v6mr7313213plm.103.1529493848574; Wed, 20 Jun 2018 04:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529493848; cv=none; d=google.com; s=arc-20160816; b=CC+E2t/luPgDI6MdlRVHUzrmk2HrD06Ctm6CfwuXurYsHVMjcdOfkdxx4tyscyKEFh rTxWPmMihNVY06HD0FPlJm2AsDRvvR8ICCWNYNqvihKz0mF+4moWrobfZXLSoouwJliS FEsZq1lCVMajIxd7ApVVOp4YgTjvpm3/+vosL0zFKy6pTrgi9dPA2VO1Vtp+oo0jb9iA bYK3wTLUnhqT1WaLw9cYL3XsImKmZzB67wxZsztq+Iyjr15A2UMQV6PZSi1kHGAjTCAw wERbdsgTdU44tzhD5X5KRcRKhFaSCOTwLAftRVxFh2nr5hZmIb4fO/Z+UNEALgMTFZ3t 86ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=kfuM+QqMo8C47J35MPSRaW1g1Bmx4l235kl4ixxHm8k=; b=q5et8gb6eQ51gj+gQ4bxALromsYepvKVk4tqqmeeY+znhws+A5xtxChOLpEddjOj0d +DdRQLaSeMvpf7nvIQ22ojuQvOVnP4zvimhpWardQA3rg37Sqpsf8iyB3Y2JW9QiQ0gj tzx4OInkyPbDrNflHx5/bqVKlhz7Y5vFnGFXdsOwDByY6KflBZct/bGAOsxo9Dd2rROo SrJLDn+k22CWnyBUUYQPNu00lulLjHV8xrm2J5heFF5Bnw0zWFGC7fIMEcXa+DGyDU5S RpLLmFYRgtb1dDebGJ8tCXt638wi0ZGqd/1AhouQXA6IatOdl9g9UnaEEg11fDe89Pn1 oW6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gEb2w0bC; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1-v6si2111654plr.410.2018.06.20.04.23.54; Wed, 20 Jun 2018 04:24:08 -0700 (PDT) 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=@linaro.org header.s=google header.b=gEb2w0bC; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753825AbeFTLVi (ORCPT + 99 others); Wed, 20 Jun 2018 07:21:38 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36610 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752798AbeFTLVh (ORCPT ); Wed, 20 Jun 2018 07:21:37 -0400 Received: by mail-wm0-f68.google.com with SMTP id v131-v6so6176998wma.1 for ; Wed, 20 Jun 2018 04:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=kfuM+QqMo8C47J35MPSRaW1g1Bmx4l235kl4ixxHm8k=; b=gEb2w0bC3nH3yzR9db1B3GJTar8YvBByQDfucra1pRyioxqUKYxUTYtrUiCpSpXw5K Rq1Y2vLphRnlIFHaa7kNZZl8Fb3dleVMwEKqizufHHheyEWUsApANI0iJOlNHK2sZZQG opspJERSYeFG5u88ZacbPccMQhlBZIx5pFBiQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=kfuM+QqMo8C47J35MPSRaW1g1Bmx4l235kl4ixxHm8k=; b=gCgzzEta8r4eG+dvFxP4ZKEP2H+e8O2fsJkHgsd2kbrlNXfydeCT/LuTnNV+cGUeHG EzvjsOybfxgjLOfvMwq3J7nsld/kRomHuuGP0QeNlxaIf5hHtAFJXORQ0uPBxthyRL+X VFnh9aDTfORTaP6ywLOAjQzAjq3D+nbdhDGfc0hZdVLVNtemH1mzWm6qoImOMRfoamMN x6vJfpdKstznWi/LGx7n/xfSeqwSZqf3VE4FKRjDpZgYMotHaJ8go82EhOrlA6DtB8h0 pZ+eoM/6ZWWJY8ln2UT1O9Qf58582Yk6Npji+8CPRSG+XKOK8aAL2h9YiVhyD/tFqjSs dptQ== X-Gm-Message-State: APt69E0H0BUc2asOxFN1kZtOonV+pAsP+l9C+Ng8pnJFAZ0pumq7bDRz bSgcLtegMziHs9i+4ZyLoD4hya0v8ESaNXYKk5+0hg== X-Received: by 2002:a1c:3ac6:: with SMTP id h189-v6mr1515492wma.64.1529493696084; Wed, 20 Jun 2018 04:21:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:c389:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 04:20:55 -0700 (PDT) In-Reply-To: References: <20180620072138.yrz76kmms3oviv7i@linux-d8ym> From: Rafael Tinoco Date: Wed, 20 Jun 2018 08:20:55 -0300 Message-ID: Subject: Re: LTP CVE cve-2017-17053 test failed on x86_64 device To: Naresh Kamboju Cc: mmoese@suse.de, dave.hansen@linux.intel.com, ltp@lists.linux.it, open list , Jan Stancek , ebiggers@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I believe the error message on boot is solved by LKML thread: [PATCH] locking/rwsem: Fix up_read_non_owner() warning with DEBUG_RWSEMS Looks like that is what is tainting the kernel. On 20 June 2018 at 08:11, Naresh Kamboju wrote: > On 20 June 2018 at 12:51, Michael Moese wrote: >> Hi, >> >> On Wed, Jun 20, 2018 at 12:14:22PM +0530, Naresh Kamboju wrote: >>> Test FAIL case output, >>> tst_test.c:1015: INFO: Timeout per run is 0h 15m 00s >>> tst_taint.c:88: BROK: Kernel is already tainted: 512 >> The kernel is already tainted. In this case, the test refuses to run, >> because it could not tell if the test is pass or fail. >> >> Could you please check if you could run the test directly after a >> reboot? > > This single test ran immediately after the boot and bug reproduced. > > tst_taint.c:88: BROK: Kernel is already tainted: 512 > https://lkft.validation.linaro.org/scheduler/job/293222#L1204 > > Test command for 10 iterations and it failed for all 10 iterations. > + ./runltp -s cve-2017-17053 -I 10 > > NOTE: > We still see kernel warning while booting the x86_64 machine. > DEBUG_LOCKS_WARN_ON(sem->owner !=3D ((struct task_struct *)(1UL << 0))) > > - Naresh > >> >> Regards, >> Michael >> -- >> SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norto= n, HRB 21284 (AG N=C3=BCrnberg)