Prior to this update, the F_DUPFD_CLOEXEC operation with the fcntl() function
expected a single argument, specifying the minimum file descriptor (FD) number,
but was provided none. Consequently, random stack data were accessed as the FD
number and a libvirt live migration could then terminate unexpectedly. This
update ensures that the argument is provided in the described scenario, thus
fixing this bug.
6.5 will pick up the fix via rebase, but the problem is real enough to warrant a backport to 6.4.z.
Verify this bug:
#rpm -q libvirt
Following the steps in bug description, do live migrate
# virsh migrate --live tsu-1 qemu+ssh://10.66.85.73/system --verbose
Migration: [100 %]
And the guest running on dest host, so move this bug to VERIFIED.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.