Re: KASAN: use-after-free Read in rds_find_bound

From: Santosh Shilimkar
Date: Wed Feb 14 2018 - 11:54:02 EST


On 2/13/2018 12:12 PM, Dmitry Vyukov wrote:
On Sat, Dec 30, 2017 at 8:41 PM, santosh.shilimkar@xxxxxxxxxx
<santosh.shilimkar@xxxxxxxxxx> wrote:
On 12/30/17 1:17 AM, syzbot wrote:

Hello,

syzkaller hit the following crash on
fba961ab29e5ffb055592442808bb0f7962e05da
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.
Unfortunately, I don't have any reproducer for this bug yet.


IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+93a5839deb355537440f@xxxxxxxxxxxxxxxxxxxxxxxxx


Posted a fix[1] for above issue. Didn't test it but looks straight
forward.


Hi Santosh,

What is that fix? You forgot to provide any link/reference. I also
don't see any patches from you at around that date...

Fix [1] was later not added since there was a still a race. Wanted to
see if the issue re-appears after recent netns fix [2].

Regards,
Santosh


[1] https://patchwork.kernel.org/patch/10137901/
[2] https://patchwork.ozlabs.org/patch/868902/