Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2809013ybi; Mon, 1 Jul 2019 19:45:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFHuNnkulwRhE+frDnCmwL7gUcHTS92rE+1iCJ4gQ3VUyxt785lXUlkCD+x/BBVbgRREcY X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr31527333plb.139.1562035510928; Mon, 01 Jul 2019 19:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562035510; cv=none; d=google.com; s=arc-20160816; b=bW7E6Q6q5lH8wlgLMaFqqddUxFgjplvlQedZMiZZkoSpF2A2kpyccmyjqNkHGBdI56 FWNSbY5weq1qITos1De0PDv2JQbFIGOm3UIORCSC7dZ/xpuy6WSnCHHjR/V+EqEXiudx vRrT05U6Gs/VBf32EoA7RgJrF/YfXest5ButFdFyCsBXikKu2W+H2p9cF82CG/0NcDrf wDGmvbnWAOEUw1vnvVbicGau9FavPQam7e6jx66nYo2ur3S+fU+n/qFBUTkXzU8U7sLF 4v/Tov+s5Ft2ay4o4hRoxC99kaILKht5QUds3hD4xRRMCVqd24zWu+FdEpal6elPWwhS 4D+g== 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 :references:in-reply-to:date:cc:to:from:subject:message-id; bh=PFzYjO6ddkI+iiEG6e9f8C0Sty7MGtleoHlyHBb7kC8=; b=EGHdNnbGldGiXKWGSVfT2sCr11A1fKWuxulFyd2Hy/EEnnf2sV1xWjhp1gTuf1zJw9 2uaBtVWCYOuoSXz2jKn7Z2P9eka7lgV6EwZKMmK5o0toMCUvUeKoL+Lr/gY8HgF7VBvl G5ny4oQwd3euAewKu4ojpQXD25oMMqqq9s6KRJoQpoGpnccNLDIntgOdDs+qDkJ8eKbx pGjQp4qlyOiZIslSl5wwmG6ahWOc/Zfaaj1myUQi9fztzNHGyhHCr066Nf+3pSJL9C5J BVGLKqv9aI+efasDGvhxC6jOjHSMm1Ddeq2dnJH4D7Aw+ARmX4ng0PkZkE98XAv/54s3 4K6g== 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 u19si1568123pgb.148.2019.07.01.19.44.51; Mon, 01 Jul 2019 19:45:10 -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 S1726846AbfGBCoa (ORCPT + 99 others); Mon, 1 Jul 2019 22:44:30 -0400 Received: from gate.crashing.org ([63.228.1.57]:56659 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbfGBCoa (ORCPT ); Mon, 1 Jul 2019 22:44:30 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x622iI61015588; Mon, 1 Jul 2019 21:44:19 -0500 Message-ID: <38d777292f5335b5ea5f8fd7c0b58c514dda525a.camel@kernel.crashing.org> Subject: Re: WARNING: refcount bug in kobject_add_internal From: Benjamin Herrenschmidt To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, rafael@kernel.org, syzkaller-bugs@googlegroups.com, torvalds@linux-foundation.org Cc: Muchun Song Date: Tue, 02 Jul 2019 12:44:18 +1000 In-Reply-To: <000000000000106b11058ca6f7f2@google.com> References: <000000000000106b11058ca6f7f2@google.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Munchun, is this what your patch fixes ? On Mon, 2019-07-01 at 16:27 -0700, syzbot wrote: > syzbot has bisected this bug to: > > commit 726e41097920a73e4c7c33385dcc0debb1281e18 > Author: Benjamin Herrenschmidt > Date: Tue Jul 10 00:29:10 2018 +0000 > > drivers: core: Remove glue dirs from sysfs earlier > > bisection log: > https://syzkaller.appspot.com/x/bisect.txt?x=140d6739a00000 > start commit: 6fbc7275 Linux 5.2-rc7 > git tree: upstream > final crash: > https://syzkaller.appspot.com/x/report.txt?x=160d6739a00000 > console output: > https://syzkaller.appspot.com/x/log.txt?x=120d6739a00000 > kernel config: > https://syzkaller.appspot.com/x/.config?x=bff6583efcfaed3f > dashboard link: > https://syzkaller.appspot.com/bug?extid=32259bb9bc1a487ad206 > syz repro: > https://syzkaller.appspot.com/x/repro.syz?x=115bad39a00000 > C reproducer: > https://syzkaller.appspot.com/x/repro.c?x=1241bdd5a00000 > > Reported-by: syzbot+32259bb9bc1a487ad206@syzkaller.appspotmail.com > Fixes: 726e41097920 ("drivers: core: Remove glue dirs from sysfs > earlier") > > For information about bisection process see: > https://goo.gl/tpsmEJ#bisection