Re: [PATCH] tipc: validate length of sockaddr in connect() for dgram/rdm

From: David Miller
Date: Tue Mar 24 2015 - 12:57:41 EST


From: Sasha Levin <sasha.levin@xxxxxxxxxx>
Date: Mon, 23 Mar 2015 15:30:00 -0400

> Commit f2f8036 ("tipc: add support for connect() on dgram/rdm sockets")
> hasn't validated user input length for the sockaddr structure which allows
> a user to overwrite kernel memory with arbitrary input.
>
> Fixes: f2f8036 ("tipc: add support for connect() on dgram/rdm sockets")
> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>

Applied, thanks.
--
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/