[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpUYeF1vLRX=TryfH6ruPi2qL-j8Y2shbs7s9cKiy4xvmA@mail.gmail.com>
Date: Tue, 18 Dec 2018 20:12:04 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Stefano Brivio <sbrivio@...hat.com>
Cc: Dmitry Vyukov <dvyukov@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
"Paul E. McKenney" <paulmck@...ux.ibm.com>,
syzbot <syzbot+43f6755d1c2e62743468@...kaller.appspotmail.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Josh Triplett <josh@...htriplett.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
syzkaller-bugs <syzkaller-bugs@...glegroups.com>,
netdev <netdev@...r.kernel.org>, Xin Long <lucien.xin@...il.com>
Subject: Re: WARNING in __rcu_read_unlock
On Tue, Dec 18, 2018 at 4:40 AM Stefano Brivio <sbrivio@...hat.com> wrote:
> Not as far as I know. The selftests checking this path, by design, only
> use supported configurations, they don't forge packets.
>
> Maybe it would be nice to have a semi-automated way to isolate and
> describe/name specific conditions found by syzbot via fuzzing and turn
> those into tests that are then repeated periodically. I'm not sure how
> that would look like, but I think it's still more maintainable than a
> pile of C reproducers with forged packets in selftests/net.
>
> Eric, Cong, Xin, as you also recently fixed a nice deal of similar cases
> reported by syzbot, what do you think? Did you ever feel the need to
> turn a syzbot reproducer into a regression test case?
I think it is a very good idea to archive these C reproducers in
tools/testing/selftests/. After this is done, kbuild bot could do these
regression tests, no longer need to bother syzbot to run them again. :)
Thanks.
Powered by blists - more mailing lists