summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback
diff options
context:
space:
mode:
authorInsu Yun <wuninsu@gmail.com>2016-01-18 17:54:43 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2016-02-15 14:56:57 +0100
commit85c0a87cd117e83361932b2b160c9af178fdb21a (patch)
tree3f29931c9be46cb4ed83c1bf75cf05b85293e2fd /drivers/xen/xen-pciback
parentxen/arm: correctly handle DMA mapping of compound pages (diff)
downloadlinux-85c0a87cd117e83361932b2b160c9af178fdb21a.tar.xz
linux-85c0a87cd117e83361932b2b160c9af178fdb21a.zip
xen: fix potential integer overflow in queue_reply
When len is greater than UINT_MAX - sizeof(*rb), in next allocation, it can overflow integer range and allocates small size of heap. After that, memcpy will overflow the allocated heap. Therefore, it needs to check the size of given length. Signed-off-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/xen-pciback')
0 files changed, 0 insertions, 0 deletions