From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YKM+CRMnYl/RGgAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 14:54:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ABscBRMnYl+8MgAAB5/wlQ (envelope-from ) for ; Wed, 16 Sep 2020 14:54:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AD6C7940609 for ; Wed, 16 Sep 2020 14:54:10 +0000 (UTC) Received: from localhost ([::1]:47254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIYoz-0004Fg-C5 for larch@yhetil.org; Wed, 16 Sep 2020 10:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIYos-0004FW-4C for bug-guix@gnu.org; Wed, 16 Sep 2020 10:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIYor-0000gH-RB for bug-guix@gnu.org; Wed, 16 Sep 2020 10:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIYor-00011O-Qg for bug-guix@gnu.org; Wed, 16 Sep 2020 10:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43344: "basic" system tests fail (and all the other ones) on guix master Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Sep 2020 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43344 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 43344-submit@debbugs.gnu.org id=B43344.16002680123886 (code B ref 43344); Wed, 16 Sep 2020 14:54:01 +0000 Received: (at 43344) by debbugs.gnu.org; 16 Sep 2020 14:53:32 +0000 Received: from localhost ([127.0.0.1]:35673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIYoO-00010c-2p for submit@debbugs.gnu.org; Wed, 16 Sep 2020 10:53:32 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:59918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIYoM-00010Q-8Q for 43344@debbugs.gnu.org; Wed, 16 Sep 2020 10:53:31 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id B378833606E2; Wed, 16 Sep 2020 16:53:28 +0200 (CEST) Date: Wed, 16 Sep 2020 16:52:45 +0200 From: Danny Milosavljevic Message-ID: <20200916165245.421e3c4c@scratchpost.org> In-Reply-To: <20200916141231.GA28015@jasmine.lan> References: <20200911195058.6dc013b4@scratchpost.org> <877dsw7alf.fsf@gnu.org> <20200914183037.624cc347@scratchpost.org> <87y2laactz.fsf@netris.org> <20200915230628.GA20807@jasmine.lan> <20200916141231.GA28015@jasmine.lan> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/PjGHaLZQKu2PKi5NqoGq6xR"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe , 43344@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: f/ZPf7R0hKGp --Sig_/PjGHaLZQKu2PKi5NqoGq6xR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable commit 692d0626557451c4b557397f20b7394b612d0289 Author: Christoph Hellwig Date: Tue Sep 1 11:59:41 2020 +0200 block: fix locking in bdev_del_partition =20 [ Upstream commit 08fc1ab6d748ab1a690fd483f41e2938984ce353 ] =20 We need to hold the whole device bd_mutex to protect against other thread concurrently deleting out partition before we get to it, and thus causing a use after free. =20 Fixes: cddae808aeb7 ("block: pass a hd_struct to delete_partition") Reported-by: syzbot+6448f3c229bc52b82f69@syzkaller.appspotmail.com Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin ? --Sig_/PjGHaLZQKu2PKi5NqoGq6xR Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9iJr4ACgkQ5xo1VCww uqVrNwf/dfRyuoleqM4FawaPaWmdJPsd8tDj+OGRGRvSnncbqF1IodkEw6XhMx3y oDs3fy8irWSDPwkFqiL/pFEd15IfbC4mFg2kTUo1bD/R7euCjZMMvwpIWWUnQ+KY saA/frug/F9yZRUDRQPWmrJJ/eXX2n6ina1rsaRTYt/yOUgmhpR/wPhme/QZdJaR CsSnosOiR+qqDrHVQJRlP0nu3bMUNXB3j9D1ylSjRfyb6uuAQWuuNoN/u/jedldJ 2STJRZRITq/T+678CGO4f8yMHcuWFzYFcWR1Cf5JYVDUxz86lBTQi+zDf+ULS6lE Y/mvBSD0GONr20Mj2tsH3qRBI6Ri0A== =oQi4 -----END PGP SIGNATURE----- --Sig_/PjGHaLZQKu2PKi5NqoGq6xR--