Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
dpdk.25893
dpdk-CVE-2022-0669.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dpdk-CVE-2022-0669.patch of Package dpdk.25893
Index: dpdk-stable-19.11.10/lib/librte_vhost/vhost_user.c =================================================================== --- dpdk-stable-19.11.10.orig/lib/librte_vhost/vhost_user.c +++ dpdk-stable-19.11.10/lib/librte_vhost/vhost_user.c @@ -1441,6 +1441,9 @@ vhost_user_get_inflight_fd(struct virtio int fd, i, j; void *addr; + if (validate_msg_fds(msg, 0) != 0) + return RTE_VHOST_MSG_RESULT_ERR; + if (msg->size != sizeof(msg->payload.inflight)) { RTE_LOG(ERR, VHOST_CONFIG, "invalid get_inflight_fd message size is %d\n", @@ -1534,6 +1537,9 @@ vhost_user_set_inflight_fd(struct virtio void *addr; int fd, i; + if (validate_msg_fds(msg, 1) != 0) + return RTE_VHOST_MSG_RESULT_ERR; + fd = msg->fds[0]; if (msg->size != sizeof(msg->payload.inflight) || fd < 0) { RTE_LOG(ERR, VHOST_CONFIG,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor