From: Lukas Bulwahn <lukas.bulwahn@gmail.com>
To: "Jouni Högander" <jouni.hogander@unikie.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>,
open list <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ben Hutchings <ben.hutchings@codethink.co.uk>,
linux- stable <stable@vger.kernel.org>,
Netdev <netdev@vger.kernel.org>,
Al Viro <viro@zeniv.linux.org.uk>,
linux-fsdevel@vger.kernel.org, Eric Dumazet <edumazet@google.com>,
"David S. Miller" <davem@davemloft.net>,
syzkaller@googlegroups.com
Subject: Re: [PATCH 4.19 000/306] 4.19.87-stable review
Date: Sun, 26 Jan 2020 12:54:42 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.21.2001261236430.4933@felia> (raw)
In-Reply-To: <87sgk8szhc.fsf@unikie.com>
[-- Attachment #1: Type: text/plain, Size: 3390 bytes --]
On Wed, 22 Jan 2020, Jouni Högander wrote:
> Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> >> > Now queued up, I'll push out -rc2 versions with this fix.
> >> >
> >> > greg k-h
> >>
> >> We have also been informed about another regression these two commits
> >> are causing:
> >>
> >> https://lore.kernel.org/lkml/ace19af4-7cae-babd-bac5-cd3505dcd874@I-love.SAKURA.ne.jp/
> >>
> >> I suggest to drop these two patches from this queue, and give us a
> >> week to shake out the regressions of the change, and once ready, we
> >> can include the complete set of fixes to stable (probably in a week or
> >> two).
> >
> > Ok, thanks for the information, I've now dropped them from all of the
> > queues that had them in them.
> >
> > greg k-h
>
> I have now run more extensive Syzkaller testing on following patches:
>
> cb626bf566eb net-sysfs: Fix reference count leak
> ddd9b5e3e765 net-sysfs: Call dev_hold always in rx_queue_add_kobject
> e0b60903b434 net-sysfs: Call dev_hold always in netdev_queue_add_kobje
> 48a322b6f996 net-sysfs: fix netdev_queue_add_kobject() breakage
> b8eb718348b8 net-sysfs: Fix reference count leak in rx|netdev_queue_add_kobject
>
> These patches are fixing couple of memory leaks including this one found
> by Syzbot: https://syzkaller.appspot.com/bug?extid=ad8ca40ecd77896d51e2
>
> I can reproduce these memory leaks in following stable branches: 4.14,
> 4.19, and 5.4.
>
> These are all now merged into net/master tree and based on my testing
> they are ready to be taken into stable branches as well.
>
+ syzkaller list
Jouni et. al, please drop Linus in further responses; Linus, it was wrong
to add you to this thread in the first place (reason is explained below)
Jouni, thanks for investigating.
It raises the following questions and comments:
- Does the memory leak NOT appear on 4.9 and earlier LTS branches (or did
you not check that)? If it does not appear, can you bisect it with the
reproducer to the commit between 4.14 and 4.9?
- Do the reproducers you found with your syzkaller testing show the same
behaviour (same bisection) as the reproducers from syzbot?
- I fear syzbot's automatic bisection on is wrong, and Linus' commit
0e034f5c4bc4 ("iwlwifi: fix mis-merge that breaks the driver") is not to
blame here; that commit did not cause the memory leak, but fixed some
unrelated issue that simply confuses syzbot's automatic bisection.
Just FYI: Dmitry Vyukov's evaluation of the syzbot bisection shows that
about 50% are wrong, e.g., due to multiple bugs being triggered with one
reproducer and the difficulty of automatically identifying them of being
different due to different root causes (despite the smart heuristics of
syzkaller & syzbot). So, to identify the actual commit on which the memory
leak first appeared, you need to bisect manually with your own judgement
if the reported bug stack trace fits to the issue you investigating. Or
you use syzbot's automatic bisection but then with a reduced kernel config
that cannot be confused by other issues. You might possibly also hit a
"beginning of time" in your bisection, where KASAN was simply not
supported, then the initially causing commit can simply not determined by
bisection with the reproducer and needs some code inspection and
archaeology with git. Can you go ahead try to identify the correct commit
for this issue?
Lukas
next prev parent reply other threads:[~2020-01-26 11:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20191127203114.766709977@linuxfoundation.org>
2019-11-28 6:53 ` [PATCH 4.19 000/306] 4.19.87-stable review Naresh Kamboju
2019-11-28 7:36 ` Greg Kroah-Hartman
2019-11-28 15:56 ` shuah
2019-11-28 23:57 ` shuah
2019-11-29 6:43 ` Greg Kroah-Hartman
2019-11-29 5:46 ` Lukas Bulwahn
2019-11-29 8:58 ` Greg Kroah-Hartman
2020-01-22 7:48 ` Jouni Högander
2020-01-26 11:54 ` Lukas Bulwahn [this message]
2020-01-27 8:42 ` Jouni Högander
2020-01-27 21:16 ` Lukas Bulwahn
2020-01-28 8:46 ` Jouni Högander
2020-01-28 10:28 ` Jouni Högander
2020-01-28 13:29 ` Greg Kroah-Hartman
2019-11-29 8:54 ` Naresh Kamboju
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.21.2001261236430.4933@felia \
--to=lukas.bulwahn@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=ben.hutchings@codethink.co.uk \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=jouni.hogander@unikie.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=syzkaller@googlegroups.com \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).