[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150331.140754.256262715966365806.davem@davemloft.net>
Date: Tue, 31 Mar 2015 14:07:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...hat.com
Cc: netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [PATCH net] netlink: pad nla_memcpy dest buffer with zeroes
From: Jiri Benc <jbenc@...hat.com>
Date: Sun, 29 Mar 2015 16:05:28 +0200
> This is especially important in cases where the kernel allocs a new
> structure and expects a field to be set from a netlink attribute. If such
> attribute is shorter than expected, the rest of the field is left containing
> previous data. When such field is read back by the user space, kernel memory
> content is leaked.
>
> Signed-off-by: Jiri Benc <jbenc@...hat.com>
Applied, thanks Jiri.
--
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