Re: [PATCHv1 net-next 0/5] netlink: mmap: kernel panic and some issues
From: Ken-ichirou MATSUZAWA <hidden>
Date: 2015-09-02 22:27:16
From: Ken-ichirou MATSUZAWA <hidden>
Date: 2015-09-02 22:27:16
On Wed, Sep 02, 2015 at 05:56:36PM +0200, Daniel Borkmann wrote:
you suggest or not), for two reasons: I think (will start experimenting more with it tomorrow), you would get an out of bounds access here in case the skb->data is the last slot in the ring buffer and reaches exactly to the ring buffer end. And (despite that), it's also hard
I thought accessing as a value, not a pointer, in thats wrong shared info will not be a big problem, but
to maintain - the next one adding a new shared info member will very likely oversee this special case in netlink here, thus the issue would then simply be reintroduced over and over.
I agree with you. Thank you for taking your time. I think I have learned a lot. Thanks,