Bug 2159969 - backport vsock fixes for RHEL-8.8
Summary: backport vsock fixes for RHEL-8.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.8
Assignee: Stefano Garzarella
QA Contact: Qinghua Cheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-11 09:06 UTC by Stefano Garzarella
Modified: 2023-05-16 10:52 UTC (History)
9 users (show)

Fixed In Version: kernel-4.18.0-451.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:00:19 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src/kernel rhel-8 merge_requests 4081 0 None None None 2023-01-12 09:26:25 UTC
Red Hat Issue Tracker RHELPLAN-144791 0 None None None 2023-01-11 09:08:42 UTC
Red Hat Product Errata RHSA-2023:2951 0 None None None 2023-05-16 09:00:51 UTC

Description Stefano Garzarella 2023-01-11 09:06:46 UTC
This is a preliminary list of vsock fixes we have in Linux 6.1-rc3 that we should backport into RHEL-8.8:

7a4efe182ca6 vhost/vsock: Fix error handling in vhost_vsock_init()
7e97cfed9929 vsock: Fix memory leak in vsock_connect()
a3e7b29e3085 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
0e3f72931fc4 vhost/vsock: Use kvmalloc/kvfree for larger packets.
44aa5a6dba82 net: vmw_vsock: vmci: Check memcpy_from_msg()

Comment 2 Bo Yang 2023-01-16 10:52:03 UTC
Updated the result from Virt QE team - RHEL in ESXi.


Tested with 4.18.0-448.el8.4081_744511162.g8ec2 and passed the regression.


Test Environment
    Host: ESXi 7.0
    Guest: RHEL-8.8.0 with 4.18.0-448.el8.4081_744511162.g8ec2


Steps to Test
0. Upgraded the Guest with Repo URL based on above target Host.
1. Launched its regression with CI - https://ci-jenkins-csb-esxi.apps.ocp-c1.prod.psi.redhat.com/job/ESXi-Project/job/regression-trigger/30/, and checked cases status if failed.


If you have any specific cases or steps to try, let me know.

Comment 3 Qinghua Cheng 2023-01-19 13:28:24 UTC
Pre-verified on rhel 8.8

kernel: 4.18.0-448.el8.4081_744511162.g8ec2.x86_64
qemu: qemu-kvm-6.2.0-28.module+el8.8.0+17721+63bacee8.x86_64

Vsock regression test PASS.

Comment 7 Qinghua Cheng 2023-01-29 02:15:18 UTC
Verified on rhel 8.8

kernel: 4.18.0-452.el8.x86_64
qemu-kvm: qemu-kvm-6.2.0-28.module+el8.8.0+17721+63bacee8.x86_64

Vsock automation tests PASS.

Comment 9 errata-xmlrpc 2023-05-16 09:00:19 UTC
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 (Important: kernel security, bug fix, and enhancement update), 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/RHSA-2023:2951


Note You need to log in before you can comment on or make changes to this bug.