aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
diff options
context:
space:
mode:
authorSilvio Cesare <[email protected]>2018-05-04 03:44:02 +0000
committerKees Cook <[email protected]>2018-06-12 23:19:22 +0000
commit353748a359f1821ee934afc579cf04572406b420 (patch)
treec386b02a98fa6658d42dce10ce588f99536ea339 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
parentleds: Use struct_size() in allocation (diff)
downloadkernel-353748a359f1821ee934afc579cf04572406b420.tar.gz
kernel-353748a359f1821ee934afc579cf04572406b420.zip
UBIFS: Fix potential integer overflow in allocation
There is potential for the size and len fields in ubifs_data_node to be too large causing either a negative value for the length fields or an integer overflow leading to an incorrect memory allocation. Likewise, when the len field is small, an integer underflow may occur. Signed-off-by: Silvio Cesare <[email protected]> Fixes: 1e51764a3c2ac ("UBIFS: add new flash file system") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions