diff options
| author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2017-01-09 20:57:48 +0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-09 18:42:42 +0100 |
| commit | 1bb50d02a8d3161947d213e9627a1a98fea60ac1 (patch) | |
| tree | 9fb3ebddba1cf6047abf6fd07b5d91461714960d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | c73b58cfa83e6aac20f075fe1d9d94047da80a25 (diff) | |
net/appletalk: Fix kernel memory disclosure
[ Upstream commit ce7e40c432ba84da104438f6799d460a4cad41bc ]
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
