Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp517914imm; Fri, 8 Jun 2018 00:17:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLq/C15E+zikfNWvuQuyVLtGPO6yuFqEdGWm8yIeT4jyK+no6GZBmXU9JK577vi+CP5rv4f X-Received: by 2002:a17:902:bd8f:: with SMTP id q15-v6mr5194755pls.161.1528442224714; Fri, 08 Jun 2018 00:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528442224; cv=none; d=google.com; s=arc-20160816; b=PzWX3tB9PN/KKv247rJ7auXJpEhm1AyTzdXH5Jhqjl7fCfPX7KtaeVXJmyma5tkdqH ELwns6LzgnRduF5KnbWtwEUHA62p7jCdikeLep92Tmn1gYtaVY84DcDlzgbO/Vs/+Par HLPxttMCOYtgazOXD7ry7+RDoLDXqb4SIPkj+3dfxED3uWqEV7ExJadOFmrALZaawdxy 3wABj3ALuS9wXphT4QR6f8rmTAMjkRb3+hHplU8kOIqnSkWBO1aY0U2o4FTKGDcuJXlk PekeSJaJhxNeX758igwJv+VXjWGtWPV19wpZ9gBw/SDZjQnYepaK/xJIjIEe3A+HHZ2Z KLNg== 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:mime-version :date:cc:to:from:subject:message-id:arc-authentication-results; bh=/HVFfNIaxzefq5Urw4WnB5dvEU6v6VsceE1Cy3q+FH0=; b=SCQPgxMoGwOZuGvQJS/e0xgIpV5FNDJPN0uvaHWipLHJekDswBjM0K8haCZhC3ySVf 8T7+K/VjSLQil9KZAoymcJEHWY0B9esskoFnRX4vyRvEtWjEn0m9uKge8LZdz9+TWvyf uwxm0qC2g/phDFpFmNrQuv4TlVpoqd2BPYSqj5aWQ5g60g5xmtLMTuGMBrcYrFYrnuyu i3KOnwTuT2BEuw8MWvAQjZ+AKuc8NNM86Tmx2dRUrkXnURGTLV7ePaBqNcNNXQLxLRxl iFq6MHX3W4bDI3Nvd6WUAK/GOmnkMWmHBNvxjoXXOpPJwN2wD/7/JwC31JZcMz9hQtEP TrYw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1-v6si55552433plb.549.2018.06.08.00.16.49; Fri, 08 Jun 2018 00:17:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751898AbeFHHQX (ORCPT + 99 others); Fri, 8 Jun 2018 03:16:23 -0400 Received: from mout.gmx.net ([212.227.17.22]:34161 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeFHHQW (ORCPT ); Fri, 8 Jun 2018 03:16:22 -0400 Received: from homer.simpson.net ([185.191.216.72]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lubnw-1gQxGb0fc8-00zokR; Fri, 08 Jun 2018 09:16:17 +0200 Message-ID: <1528442176.4678.10.camel@gmx.de> Subject: regression: "95cde3c59966 debugfs: inode: debugfs_create_dir uses mode permission from parent" terminally annoys libvirt From: Mike Galbraith To: LKML , Thomas Richter Cc: Greg Kroah-Hartman , Kees Cook Date: Fri, 08 Jun 2018 09:16:16 +0200 Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:msM1bvMiZnpiZBdtrTug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kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greetings, $subject bisected and verified via revert. Box is garden variety i4790, distro is openSUSE Leap 15.0. Error starting domain: internal error: process exited while connecting to monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory 2018-06-08T03:18:00.453006Z qemu-system-x86_64: failed to initialize KVM: Cannot allocate memory Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1508, in startup self._backend.create() File "/usr/lib64/python3.6/site-packages/libvirt.py", line 1069, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirt.libvirtError: internal error: process exited while connecting to monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory 2018-06-08T03:18:00.453006Z qemu-system-x86_64: failed to initialize KVM: Cannot allocate memory 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775 is the first bad commit commit 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775 Author: Thomas Richter Date: Fri Apr 27 14:35:47 2018 +0200 debugfs: inode: debugfs_create_dir uses mode permission from parent git bisect start # good: [29dcea88779c856c7dc92040a0c01233263101d4] Linux 4.17 git bisect good 29dcea88779c856c7dc92040a0c01233263101d4 # bad: [ba1b7309fc2e909a5828c36a7cd187e5d7df6f53] Merge branch 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security git bisect bad ba1b7309fc2e909a5828c36a7cd187e5d7df6f53 # bad: [135c5504a600ff9b06e321694fbcac78a9530cd4] Merge tag 'drm-next-2018-06-06-1' of git://anongit.freedesktop.org/drm/drm git bisect bad 135c5504a600ff9b06e321694fbcac78a9530cd4 # good: [5231804cf9e584f3e7e763a0d6d2fffe011c1bce] Merge tag 'leds_for_4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds git bisect good 5231804cf9e584f3e7e763a0d6d2fffe011c1bce # good: [315852b422972e6ebb1dfddaadada09e46a2681a] drm: rcar-du: Fix build failure git bisect good 315852b422972e6ebb1dfddaadada09e46a2681a # bad: [ec064d3c6b40697fd72f4b1eeabbf293b7947a04] Merge tag 'driver-core-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core git bisect bad ec064d3c6b40697fd72f4b1eeabbf293b7947a04 # good: [a941fc3957113df977e7396c2cf1679e87a65555] USB: typec: tcpm: no need to check return value of debugfs_create_dir() git bisect good a941fc3957113df977e7396c2cf1679e87a65555 # good: [07c4dd3435aa387d3b58f4e941dc516513f14507] Merge tag 'usb-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb git bisect good 07c4dd3435aa387d3b58f4e941dc516513f14507 # good: [e55077307d6f7ce86f9a468408fa5613c4a5cb5d] nvmem: meson-efuse: add write support git bisect good e55077307d6f7ce86f9a468408fa5613c4a5cb5d # good: [fdff4053d51be4850185aa895813405decd6e956] fpga: clarify that unregister functions also free git bisect good fdff4053d51be4850185aa895813405decd6e956 # good: [1bc4d68b06ab913d392c8ad6481b9729bd58b8d5] ath10k: re-enable the firmware fallback mechanism for testmode git bisect good 1bc4d68b06ab913d392c8ad6481b9729bd58b8d5 # bad: [085aa2de568493d7cde52126512d37260077811a] mm: memory_hotplug: use put_device() if device_register fail git bisect bad 085aa2de568493d7cde52126512d37260077811a # good: [f0a462970ee19930518b03798a21cfdb3fd35877] Documentation: clarify firmware_class provenance and why we can't rename the module git bisect good f0a462970ee19930518b03798a21cfdb3fd35877 # bad: [95cde3c59966f6371b6bcd9e4e2da2ba64ee9775] debugfs: inode: debugfs_create_dir uses mode permission from parent git bisect bad 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775 # good: [964f8363a1aba6cb4198bfaaac538b08f1c538f1] debugfs: Re-use kstrtobool_from_user() git bisect good 964f8363a1aba6cb4198bfaaac538b08f1c538f1 # first bad commit: [95cde3c59966f6371b6bcd9e4e2da2ba64ee9775] debugfs: inode: debugfs_create_dir uses mode permission from parent