dm-verity: correctly handle dm_bufio_client_create() failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a739ff3f543afbb4a041c16cd0182c8e8d366e70 · < 451cc650e40e8c3222d37877a9e4be0fcaacb9c8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dm-verity: correctly handle dm_bufio_client_create() failure
If either of the calls to dm_bufio_client_create() in verity_fec_ctr() fails, then dm_bufio_client_destroy() is later called with an ERR_PTR() argument. That causes a crash. Fix this.
From the CVE record · Linux
In the Linux kernel's dm-verity component, a failed dm_bufio_client_create() call can lead to dm_bufio_client_destroy() receiving an ERR_PTR() argument, causing a crash. The input does not specify how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with dm-verity should check their versions; affected versions are not specified.