From: David Miller <davem@davemloft.net>
To: vlad@tsyrklevich.net
Cc: acme@ghostprotocols.net, netdev@vger.kernel.org
Subject: Re: [PATCH] net/appletalk: Fix kernel memory disclosure
Date: Mon, 09 Jan 2017 16:38:52 -0500 (EST) [thread overview]
Message-ID: <20170109.163852.1282623434902640995.davem@davemloft.net> (raw)
In-Reply-To: <1483970268-6145-1-git-send-email-vlad@tsyrklevich.net>
From: Vlad Tsyrklevich <vlad@tsyrklevich.net>
Date: Mon, 9 Jan 2017 20:57:48 +0700
> ipddp_route structs contain alignment padding so kernel heap memory
> is leaked when they are copied to user space in
> ipddp_ioctl(SIOCFINDIPDDPRT). Change kmalloc() to kzalloc() to clear
> that memory.
>
> Signed-off-by: Vlad Tsyrklevich <vlad@tsyrklevich.net>
Applied.
prev parent reply other threads:[~2017-01-09 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 13:57 [PATCH] net/appletalk: Fix kernel memory disclosure Vlad Tsyrklevich
2017-01-09 21:38 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170109.163852.1282623434902640995.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=acme@ghostprotocols.net \
--cc=netdev@vger.kernel.org \
--cc=vlad@tsyrklevich.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).