diff options
| author | Leon Romanovsky <[email protected]> | 2021-04-05 07:44:34 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-04-08 19:14:56 +0000 |
| commit | d1c803a9ccd7bd3aff5e989ccfb39ed3b799b975 (patch) | |
| tree | e2702fb118821550e708e9cadd2c88161619ba85 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/qedr: Fix kernel panic when trying to access recv_cq (diff) | |
| download | kernel-d1c803a9ccd7bd3aff5e989ccfb39ed3b799b975.tar.gz kernel-d1c803a9ccd7bd3aff5e989ccfb39ed3b799b975.zip | |
RDMA/addr: Be strict with gid size
The nla_len() is less than or equal to 16. If it's less than 16 then end
of the "gid" buffer is uninitialized.
Fixes: ae43f8286730 ("IB/core: Add IP to GID netlink offload")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Mark Bloch <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
