Description
A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libnbd | Fixed in libnbd v1.11.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnbd | 1.10.5-1 | — |
| Debian 13 | libnbd | 1.10.5-1 | — |
| Debian 12 | libnbd | 1.10.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnbd | No fix yet | — |
| Ubuntu 26.04 LTS | libnbd | No fix yet | — |
| Ubuntu 25.10 | libnbd | No fix yet | — |
| Ubuntu 24.04 LTS | libnbd | No fix yet | — |
| Ubuntu 22.04 LTS | libnbd | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libnbd | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | SLOF | 20200717-1.gite18ddad8.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | hivex +6 | 1.3.18-21.module+el8.4.0+11609+2eba841a | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libguestfs-appliance | 1:1.44.0-5.module+el8.6.0+13879+1439f356 | RHSA-2022:2181, RHSA-2022:1759 |
| RHEL 8 | libguestfs-winsupport | 8.2-2.module+el8.4.0+12717+0b0da9ad | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libnbd +6 | 1.6.0-5.module+el8.4.0+14155+dec4a5c7 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libtpms +1 | 0.7.4-4.20201106git2452a24dab.module+el8.4.0+10596+32ba7df3 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libvirt +29 | 7.0.0-14.6.module+el8.4.0+13801+378af433 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | nbdkit +18 | 1.24.0-1.module+el8.4.0+9341+96cf2672 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | perl-Sys-Virt +2 | 7.0.0-1.module+el8.4.0+9469+2eaf72bc | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | python-pyvmomi +1 | 6.7.1-7.module+el8.4.0+8855+a9e237a9 | RHSA-2022:0971, RHSA-2022:0949 |
| RHEL 8 | qemu-img +14 | 15:5.2.0-16.module+el8.4.0+14193+48a3f5f5.15 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | qemu-kvm-hw-usbredir | 15:6.0.0-33.module+el8.5.0+14188+8c5ecfdd.3 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0949 |
| RHEL 8 | seabios +2 | 1.14.0-1.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.4.0+8855+a9e237a9 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | supermin +1 | 5.2.1-1.module+el8.4.0+9751+d56db353 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | swtpm +3 | 0.4.2-1.20201201git2df14e3.module+el8.4.0+9341+96cf2672 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | swtpm-tools-pkcs11 | 0.6.0-2.20210607gitea627b3.module+el8.5.0+12696+4ce1c6bc | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0949 |
| RHEL 8 | virt-dib +23 | 1:1.44.0-2.module+el8.4.0+10146+75917d2f | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
| RHEL 8 | virt-v2v +3 | 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 | RHSA-2022:2181, RHSA-2022:1759, RHSA-2022:0971 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | SLOF | 20210217-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | hivex +6 | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libguestfs-winsupport | 8.6-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libiscsi +2 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libnbd +6 | 1.6.0-5.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libvirt +27 | 8.0.0-5.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | nbdkit +18 | 1.24.0-4.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | netcf +2 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | perl-Sys-Virt +1 | 8.0.0-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | qemu-img +14 | 15:6.2.0-11.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | seabios +2 | 1.15.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | sgabios +1 | 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | supermin +1 | 5.2.1-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | swtpm +4 | 0.7.0-1.20211109gitb79fd91.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
| AlmaLinux 8 | virt-dib +24 | 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma | ALSA-2022:1759 |
| AlmaLinux 8 | virt-v2v +3 | 1:1.42.0-18.module_el8.6.0+2880+7d9e3703 | ALSA-2022:1759 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | hivex | 1.3.18-23.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | libguestfs | 1:1.44.0-5.module+el8.6.0+1052+ff61d164.rocky | RLSA-2022:1759 |
| Rocky Linux 8 | libguestfs-winsupport | 8.6-1.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.4.0+534+4680a14e | RLSA-2022:1759 |
| Rocky Linux 8 | libnbd | 1.6.0-5.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | libtpms | 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+1052+ff61d164 | RLSA-2022:1759 |
| Rocky Linux 8 | libvirt | 8.0.0-5.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+534+4680a14e | RLSA-2022:1759 |
| Rocky Linux 8 | nbdkit | 1.24.0-4.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.4.0+534+4680a14e | RLSA-2022:1759 |
| Rocky Linux 8 | perl-Sys-Virt +1 | 8.0.0-1.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | qemu-kvm | 5:6.2.0-11.module+el8.6.0+1000+18e3b59f.5 | RLSA-2022:1759 |
| Rocky Linux 8 | seabios | 1.15.0-2.module+el8.6.0+1052+ff61d164 | RLSA-2022:1759 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.4.0+534+4680a14e | RLSA-2022:1759 |
| Rocky Linux 8 | supermin | 5.2.1-1.module+el8.6.0+1052+ff61d164 | RLSA-2022:1759 |
| Rocky Linux 8 | swtpm | 0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
| Rocky Linux 8 | virt-v2v | 1:1.42.0-18.module+el8.6.0+847+b490afdd | RLSA-2022:1759 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libnbd | 1.10.4-1.1 | openSUSE-SU-2024:11833-1 |
| openSUSE Leap 15.4 | libnbd | 1.9.3-150300.8.9.1 | SUSE-SU-2022:2754-1, SUSE-SU-2022:2347-1 |
| openSUSE Leap 15.3 | libnbd | 1.9.3-150300.8.9.1 | SUSE-SU-2022:2754-1, SUSE-SU-2022:2347-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libnbd | 1.14.1-r0 | — |
| Alpine v3.23 | libnbd | 1.14.1-r0 | — |
| Alpine v3.22 | libnbd | 1.14.1-r0 | — |
| Alpine v3.21 | libnbd | 1.14.1-r0 | — |
| Alpine v3.20 | libnbd | 1.14.1-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | hivex +6 | 1.3.18-23.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libguestfs-winsupport | 8.6-1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libnbd +6 | 1.6.0-5.module+el8.6.0+20664+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libvirt +27 | 8.0.0-5.0.1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | nbdkit +18 | 1.24.0-4.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | perl-Sys-Virt +1 | 8.0.0-1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | qemu-img +14 | 15:6.2.0-11.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | seabios +2 | 1.15.0-2.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | supermin +1 | 5.2.1-1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-1.20211109gitb79fd91.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | virt-dib +24 | 1:1.44.0-5.0.1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
| Oracle Linux 8 | virt-v2v +3 | 1:1.42.0-18.0.1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-1759 |
Advisories 11
- ALSA-2022:1759 Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 31, 2026
- RHSA-2022:1759 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 5, 2026
- RHSA-2022:2181 Red Hat Security Advisory: virt:av and virt-devel:av security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:0971 Red Hat Security Advisory: virt:av and virt-devel:av security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:0949 Red Hat Security Advisory: virt:av and virt-devel:av security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RLSA-2022:1759 Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:11833-1 libnbd-1.10.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2347-1 Security update for libnbd SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2754-1 Security update for libnbd SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1004 Red Hat Virtualization: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Sep 2, 2024
- ELSA-2022-1759 Moderate: virt:ol and virt-devel:ol security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 17, 2022
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://access.redhat.com/security/cve/CVE-2022-0485