Re: net: socket: NULL ptr deref in sendmsg

From: David Miller
Date: Mon Jul 14 2014 - 18:08:54 EST


From: Sasha Levin <sasha.levin@xxxxxxxxxx>
Date: Sun, 13 Jul 2014 17:50:53 -0400

> While fuzzing with trinity inside a KVM tools guest running the latest -next
> kernel with the KASAN patchset, I've stumbled on the following spew:
...
> It's similar to another variation:
...
> I've tried debugging it, but I don't see a code path that could lead to that.

Both of these cases involve working with pointers declared with
DECLARE_SOCKADDR, maybe that somehow confuses ASAN code generation?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/