[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131118.160238.2288108703856396394.davem@davemloft.net>
Date: Mon, 18 Nov 2013 16:02:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ping: prevent NULL pointer dereference on write to
msg_name
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Mon, 18 Nov 2013 07:07:45 +0100
> A plain read() on a socket does set msg->msg_name to NULL. So check for
> NULL pointer first.
>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
> ---
>
> Addendum to "[v4] inet: prevent leakage of uninitialized memory to user in
> recv syscalls".
Applied and queued up for -stable, thanks Hannes.
Looks like ipv6 got this case right.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists