Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1384033
| From | Dmitry Vyukov <dvyukov@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: fs: GPF in locked_inode_to_wb_and_lock_list |
| Date | 2016-04-21 12:10 +0200 |
| Message-ID | <rqjIC-7vo-13@gated-at.bofh.it> (permalink) |
| References | <rpdYC-3eO-15@gated-at.bofh.it> <rq7Ht-69I-5@gated-at.bofh.it> <rqijw-6dW-15@gated-at.bofh.it> <rqjph-74z-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 21, 2016 at 11:45 AM, Andrey Ryabinin <ryabinin.a.a@gmail.com> wrote: > 2016-04-21 11:35 GMT+03:00 Dmitry Vyukov <dvyukov@google.com>: >> >> ffffffff818884dd: 48 8b 03 mov (%rbx),%rax >> >> So whatever load "&wb->bdi->wb" produces is a NULL deref. (is it wb >> that is NULL?) > > Yes it's NULL wb, because there is only one load: > mov (%rbx),%rax => rax = wb->bdi > add $0x50,%rax => rax = &bdi->wb I bet that wb becomes NULL on the second iteration of the loop. The loop loops in case of a race with another thread, so it would also explain why it is difficult to reproduce. Tejun, does it make any sense to you?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-18 11:50 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Tejun Heo <tj@kernel.org> - 2016-04-20 23:20 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-21 10:30 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-04-21 11:20 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-21 11:30 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Tejun Heo <tj@kernel.org> - 2016-04-21 18:20 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-21 10:40 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-04-21 11:50 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-21 12:10 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Tejun Heo <tj@kernel.org> - 2016-04-21 19:10 +0200
Re: fs: GPF in locked_inode_to_wb_and_lock_list Dmitry Vyukov <dvyukov@google.com> - 2016-04-22 21:00 +0200
csiph-web