aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorShachar Raindel <[email protected]>2015-03-18 17:39:08 +0000
committerRoland Dreier <[email protected]>2015-04-02 09:53:59 -0700
commit8494057ab5e40df590ef6ef7d66324d3ae33356b (patch)
treecb7e513066a2891d400d99a3c60cf4ed577adb5b /scripts/patch-kernel
parente42391cd048809d903291d07f86ed3934ce138e9 (diff)
IB/uverbs: Prevent integer overflow in ib_umem_get address arithmetic
Properly verify that the resulting page aligned end address is larger than both the start address and the length of the memory area requested. Both the start and length arguments for ib_umem_get are controlled by the user. A misbehaving user can provide values which will cause an integer overflow when calculating the page aligned end address. This overflow can cause also miscalculation of the number of pages mapped, and additional logic issues. Addresses: CVE-2014-8159 Cc: <[email protected]> Signed-off-by: Shachar Raindel <[email protected]> Signed-off-by: Jack Morgenstein <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions