net: fix infoleak in rtnetlink
Orabug:
25308083
[ Upstream commit
5f8e44741f9f216e33736ea4ec65ca9ac03036e6 ]
The stack object “map” has a total size of 32 bytes. Its last 4
bytes are padding generated by compiler. These padding bytes are
not initialized and sent out via “nla_put”.
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit
9a9390bcf56680c487a8e4c89c813a48bfedc4b6)
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>