All reports
Medium

libnbd: nbdcopy: missing error handling may create corrupted destination image

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-0485

Probability of exploitation in the next 30 days: 1.09%

FIRST EPSS · 2026-11-21

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.

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.