aboutsummaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorJorgen Hansen <[email protected]>2021-01-20 08:33:40 -0800
committerGreg Kroah-Hartman <[email protected]>2021-01-26 19:18:50 +0100
commit7eecea89e44f64e60f1410483e79a0cab18ad580 (patch)
tree0f27a2c7e71a620d9ba2f858454fb9126a301aec /scripts/git.orderFile
parent5a16c535409f8dcb7568e20737309e3027ae3e49 (diff)
VMCI: Enforce queuepair max size for IOCTL_VMCI_QUEUEPAIR_ALLOC
When create the VMCI queue pair tracking data structures on the host side, the IOCTL for creating the VMCI queue pair didn't validate the queue pair size parameters. This change adds checks for this. This avoids a memory allocation issue in qp_host_alloc_queue, as reported by [email protected]. The check in qp_host_alloc_queue has also been updated to enforce the maximum queue pair size as defined by VMCI_MAX_GUEST_QP_MEMORY. The fix has been verified using sample code supplied by [email protected]. Reported-by: [email protected] Reviewed-by: Vishnu Dasa <[email protected]> Signed-off-by: Jorgen Hansen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions