Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1672031
| From | Cong Wang <xiyou.wangcong@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: net/ipv6: GPF in rt6_ifdown |
| Date | 2017-06-21 23:10 +0200 |
| Message-ID | <tUV2W-3fo-23@gated-at.bofh.it> (permalink) |
| References | <tUMCl-5V5-7@gated-at.bofh.it> <tUNyq-6vN-13@gated-at.bofh.it> <tUS54-VR-19@gated-at.bofh.it> <tUU6S-2DB-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 21, 2017 at 1:08 PM, Cong Wang <xiyou.wangcong@gmail.com> wrote: > On Wed, Jun 21, 2017 at 10:53 AM, Andrey Konovalov > <andreyknvl@google.com> wrote: >> On Wed, Jun 21, 2017 at 3:09 PM, Andrey Konovalov <andreyknvl@google.com> wrote: >>> On Wed, Jun 21, 2017 at 2:08 PM, Andrey Konovalov <andreyknvl@google.com> wrote: >>>> Hi, >>>> >>>> I've got the following error report while fuzzing the kernel with syzkaller. >>>> >>>> On commit 9705596d08ac87c18aee32cc97f2783b7d14624e (4.12-rc6+). >>>> >>>> It might be related to: >>>> https://groups.google.com/forum/#!topic/syzkaller/ZJaqAiFLe3k >>>> >>>> I only have a reproducer in the form of a syzkaller program, attached >>>> together with my .config. >>> >>> I now have a C reproducer as well, attached. >> >> And here's a much simpler reproducer. > > Thanks a lot for your reproducer! > > I added a few printk's, and find that we somehow have rt->rt6i_idev set > to NULL but still keep it in the uncached list. ip6_dst_destroy() unlinks > it before NULL'ing, so it should not be that case. Heck... The loopback_dev->ip6_ptr is set to NULL because of its mtu is set to smaller than IPV6_MIN_MTU, this is why we have rt->rt6i_idev NULL after a rt6_uncached_list_flush_dev()... I am thinking about a right fix.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: net/ipv6: GPF in rt6_ifdown Andrey Konovalov <andreyknvl@google.com> - 2017-06-21 15:10 +0200
Re: net/ipv6: GPF in rt6_ifdown Andrey Konovalov <andreyknvl@google.com> - 2017-06-21 20:00 +0200
Re: net/ipv6: GPF in rt6_ifdown Cong Wang <xiyou.wangcong@gmail.com> - 2017-06-21 22:10 +0200
Re: net/ipv6: GPF in rt6_ifdown Cong Wang <xiyou.wangcong@gmail.com> - 2017-06-21 23:10 +0200
csiph-web