aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-02-09 09:09:52 +0800
committerSteffen Klassert <[email protected]>2023-02-13 13:38:58 +0100
commit8222d5910dae08213b6d9d4bc9a7f8502855e624 (patch)
tree09fc47e6603fffa550f5e0218397a16b34a5dcdf /drivers/usb/cdns3/cdns3-imx.c
parent2038cc592811209de20c4e094ca08bfb1e6fbc6c (diff)
xfrm: Zero padding when dumping algos and encap
When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space. This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed. Reported-by: [email protected] Reported-by: Hyunwoo Kim <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Sabrina Dubroca <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions