Bug 2107589

Summary: backport vsock commits for RHEL-9.1
Product: Red Hat Enterprise Linux 9 Reporter: Stefano Garzarella <sgarzare>
Component: kernelAssignee: Stefano Garzarella <sgarzare>
kernel sub component: KVM QA Contact: Qinghua Cheng <qcheng>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: coli, jinzhao, juzhang, kkiwi, lvivier, nilal, virt-maint
Version: 9.1Keywords: Triaged
Target Milestone: rc   
Target Release: 9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.14.0-139.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2107594 (view as bug list) Environment:
Last Closed: 2022-11-15 11:09:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefano Garzarella 2022-07-15 13:30:03 UTC
The following patches are available upstream (Linux 5.19-rc6) and we should backport in RHEL 9.1:

bd50c5dc182b vsock/virtio: add support for device suspend/resume
a10320988626 vsock/virtio: factor our the code to initialize and delete VQs
dbde6d0c7a5a hv_sock: Add validation for untrusted Hyper-V values
88704454ef8b vsock/virtio: enable VQs early on probe
c1011c0b3a9c vsock/virtio: read the negotiated features before using VQs
4b5f1ad5566a vsock/virtio: initialize vdev->priv before using VQs
e89600ebeeb1 af_vsock: SOCK_SEQPACKET broken buffer test
efb3719f4ab0 af_vsock: SOCK_SEQPACKET receive timeout test
8e6ed963763f vsock: each transport cycles only on its own sockets
a58da53ffd70 vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
b9208492fcae vsock: remove vsock from connected table when connect is interrupted by a signal

Most of them are fixes, the only new feature is the support for device suspend/resume.

Comment 10 Qinghua Cheng 2022-08-01 02:08:21 UTC
Pre-verify on rhel9.1.

kernel: 5.14.0-130.mr1146_220718_1416.el9.x86_64
qemu-kvm: qemu-kvm-7.0.0-8.el9.x86_64

Vsock smoke is test done. No new bug found.

Comment 15 Qinghua Cheng 2022-08-03 14:32:18 UTC
Verified on rhel 9.1

kernel: 5.14.0-139.el9.x86_64
qemu-kvm: qemu-kvm-7.0.0-8.el9.x86_64

Vsock regression test PASS. No new bug found.

Comment 17 errata-xmlrpc 2022-11-15 11:09:31 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 (Moderate: 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-2022:8267