Thread (7 messages) flat view 7 messages, 4 authors, 2011-06-17

Re: inet_diag insufficient validation?

From: Dan Rosenberg <hidden>
Date: 2011-06-03 00:50:20

On Wed, 2011-06-01 at 11:40 -0400, Dan Rosenberg wrote:
Finally, I can't seem to find any validation that the reported length of
the netlink message header doesn't exceed the skb length, as checked in
some other netlink receive functions, which could result in reading
beyond the bounds of the socket data.  I could just be missing something
here though.
And for the second time, I was missing something - this validation
happens in netlink_rcv_skb().

That leaves the infinite loop in bytecode auditing, which I've confirmed
via reproducer.

-Dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help