Bug 2080275
| Summary: | [22.D RHEL-9] Fast Datapath Release | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Timothy Redaelli <tredaelli> |
| Component: | openvswitch2.17 | Assignee: | Timothy Redaelli <tredaelli> |
| Status: | CLOSED ERRATA | QA Contact: | Hekai Wang <hewang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | FDP 22.D | CC: | ctrautma, hewang, jhsiao, ralongi |
| Target Milestone: | --- | ||
| Target Release: | FDP 22.D | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openvswitch2.17-2.17.0-14.el9fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-27 18:05:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (openvswitch2.17), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:4792 |
commit 2ac21853a23d65abc09b61669c4e4a5f8e1a31fe Author: Chenbo Xia <chenbo.xia> Date: Mon Feb 14 16:32:37 2022 +0800 vhost: fix queue number check when setting inflight FD [ upstream commit 6442c329b9d2ded0f44b27d2016aaba8ba5844c5 ] In function vhost_user_set_inflight_fd, queue number in inflight message is used to access virtqueue. However, queue number could be larger than VHOST_MAX_VRING and cause write OOB as this number will be used to write inflight info in virtqueue structure. This patch checks the queue number to avoid the issue and also make sure virtqueues are allocated before setting inflight information. Fixes: ad0a4ae491fe ("vhost: checkout resubmit inflight information") Reported-by: Wenxiang Qian <leonwxqian> Signed-off-by: Chenbo Xia <chenbo.xia> Reviewed-by: Maxime Coquelin <maxime.coquelin> commit bff69b098f2078427258c34692ddda3e9f660204 Author: David Marchand <david.marchand> Date: Tue Jan 18 15:53:30 2022 +0100 vhost: fix FD leak with inflight messages [ upstream commit af74f7db384ed149fe42b21dbd7975f8a54ef227 ] Even if unlikely, a buggy vhost-user master might attach fds to inflight messages. Add checks like for other types of vhost-user messages. Fixes: d87f1a1cb7b6 ("vhost: support inflight info sharing") Signed-off-by: David Marchand <david.marchand> Reviewed-by: Maxime Coquelin <maxime.coquelin> commit 7a9f21a896fd6f607d33881ff7e6fe36a1c7e789 Merge: c02e6bcdc 60e7badd6 Author: Open vSwitch CI <ovs-ci> Date: Wed Apr 27 11:24:46 2022 -0400 Merging upstream branch-2.17 Commit list: 60e7badd6e dpif-netdev-avx512: Fix ubsan shift error in bitmasks. 9cc329ec5b python: Politely handle misuse of table.condition. 0631be2b5a ofproto-xlate: Fix crash when forwarding packet between legacy_l3 tunnels. df97903099 system-traffic: Fix fragment reassembly with L3 L4 protocol information. ba159ee0f9 cirrus: Update FreeBSD versions. commit c02e6bcdc427968d86a91f474be464d32dc3ce98 Author: Timothy Redaelli <tredaelli> Date: Thu Apr 21 14:21:42 2022 +0200 Set RTE_ETH_MAXPORTS to 1024 Resolves: #2077451