From: Shuah Khan <skhan@linuxfoundation.org>
To: Kees Cook <keescook@chromium.org>, Laura Abbott <labbott@redhat.com>
Cc: ksummit <ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] Squashing bugs!
Date: Mon, 3 Jun 2019 10:48:16 -0600 [thread overview]
Message-ID: <3027a3b8-659e-ee47-8032-121b5250cd98@linuxfoundation.org> (raw)
In-Reply-To: <CAJr-aDn+j9gyp-m=uv6mz9WWWdzmphC1pNUcyrfXaZtZ=muS9Q@mail.gmail.com>
On 5/31/19 4:15 PM, Kees Cook wrote:
> On Fri, May 31, 2019 at 5:02 AM Laura Abbott <labbott@redhat.com> wrote:
>>
>> On 5/30/19 7:30 PM, Shuah Khan wrote:
>>> I would like to propose a topic to discuss ideas to keep up with Syzbot
>>> bugs on an ongoing basis. Good news is, as of this writing, we have 1276
>>> fixed, 86 in moderation, and 62 fix pending. However, there are 523 open
>>> bugs. A good number of them have been open for longer than 300 days.
>>>
>>> The oldest one has been open for 537 days. I plan to take a closer at
>>> the open bugs to identify areas that might need more help.
>
> Many seem to get discussed for a while with people all mostly agreeing
> on what needs to be done, but then nothing actually materializes.
>
Right. My experience with a fix I sent is that there is no agreement
on how to fix between maintainers. Hence, it is in limbo.
> Now, part of this, I think, is a lack of an "objective" sense of
> priority for the various bugs on the dashboard. Their frequency of
> appearance (currently the only thing that really turns red), does not
> reflect anything about their severity nor reachability. Severity is
> pretty straight forward: stack smashing, use-after-free, etc are way
> worse (generally speaking) than crash/hang or WARN(). For
> reachability, if we could narrow the scope of things a bit more ("this
> is reachable only by init namespace root", or "only reachable via
> CAP_NET_ADMIN", or "only with this CONFIG that doesn't appear in any
> modern distro .config") that would be great.
>
Agree. It is very hard to parse the information to determine priority.
I have been looking at how often it can be reproduced. In some cases,
it isn't clear how likely for this bug to be triggered in regular cases.
This is where syzbot adds value that it stresses error cases.
This one bug I am looking at is in an error leg, which is nice. However,
syzbot reports are hard to manage. I found 3 instances of the same bug,
with fix pulled into the mainline associated with one of the 3.
I spent time on Friday to find a quick way to reply to one of them with
list of IDs. It will be great to have a ID associated with these bugs,
so I can go say, hey this fix applies to these IDs.
>>> I have been sending fixes to some of them as I find time like many other
>>> developers. In addition, I included syzbot bug analysis as a required
>>> contribution in the Linux Kernel Mentorship Program application process.
>>> This is for learning debugging skills as well as getting help towards
>>> fixing bugs. It has been successful in getting a few fixes in. My goal
>>> is to make these efforts a bit more structured to focus on areas that
>>> need help.
>>>
>>> There are some challenges, the obvious ones being finding time to
>>> analyze, reproduce, and fix. Reproducers are available in many cases,
>>> and these bugs can be reproduced. Identifying the right fix and fixing
>>> is the overwhelming part with the number of outstanding problems.
>>>
>>> My objective for this topic is to explore and identify areas that might
>>> need help in analyzing and fixing bugs in general and especially the
>>> ones that have been open for a while. It would help me channel and focus
>>> the Mentorship Program efforts and my efforts to help the areas in need.
>
> What I want to find is a way to fund on-going work in this area. It
> just does not appear to be working to find funding within various
> companies to do this kind of sustained bug-hunting. It's a bit of a
> resource conflict: if a company has kernel developers on staff they
> tend to want to have them focused on "new things".
>
Yes. This is my concern as well. This is why I am trying to see if we
can find resources. I would like to start with trying to channel the
resources from the mentorship program for this. I do know that this
adds overhead as well. Maybe some low hanging fruit and easy fix type
bugs can be taken care of using this program and then we can focus our
expert energies on harder bugs.
>> I'm interested in this topic for not just syzbot but other bug trackers
>> as well. Fedora gets a steady flow of bugs filed and the three official
>> maintainers do their best to review but sometimes things slip through,
>> especially if we hit a time when several of us are out or traveling.
>> The kernel.org bugzilla also gets a number of bug reports that sometimes
>> get lost. I'd love to see if there's a process that could work for syzbot
>> and other high volume kernel trackers.
>
Yes. This is what I am finding. Syzbot or any other bug tracking system
to be effective, it has to be easy to manage and mark bugs as duplicate,
closed, fixed. etc.
thanks,
-- Shuah
next prev parent reply other threads:[~2019-06-03 16:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-30 23:30 Shuah Khan
2019-05-31 12:01 ` Laura Abbott
2019-05-31 15:56 ` Shuah Khan
2019-06-03 5:01 ` Leon Romanovsky
2019-05-31 22:15 ` Kees Cook
2019-06-03 10:42 ` Jan Kara
2019-06-04 18:29 ` Laura Abbott
2019-06-03 16:48 ` Shuah Khan [this message]
2019-06-02 18:09 ` Sasha Levin
2019-06-03 17:25 ` Shuah Khan
2019-06-03 18:09 ` Konstantin Ryabitsev
2019-06-03 19:32 ` Shuah Khan
2019-06-03 20:48 ` Linus Torvalds
2019-06-03 21:10 ` Sasha Levin
2019-06-03 21:15 ` Jiri Kosina
2019-06-03 21:23 ` Linus Torvalds
2019-06-03 21:28 ` Jiri Kosina
2019-06-03 22:11 ` Mark Brown
2019-06-04 17:16 ` Shuah Khan
2019-06-05 9:27 ` Mark Brown
2019-06-05 11:48 ` Geert Uytterhoeven
2019-06-05 18:16 ` Shuah Khan
2019-06-05 13:19 ` Sasha Levin
2019-06-05 19:05 ` Shuah Khan
2019-06-04 18:09 ` Laura Abbott
2019-06-05 12:49 ` Sasha Levin
2019-06-04 21:43 ` Konstantin Ryabitsev
2019-06-04 22:02 ` Shuah Khan
2019-06-04 22:22 ` Konstantin Ryabitsev
2019-06-05 17:54 ` Shuah Khan
2019-06-03 20:59 ` Sasha Levin
-- strict thread matches above, loose matches on Subject: below --
2019-05-29 22:34 Shuah Khan
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=3027a3b8-659e-ee47-8032-121b5250cd98@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=keescook@chromium.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=labbott@redhat.com \
/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