block: ublk: make sure that block size is set correctly
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.1.246.2.116.3In the Linux kernel, the following vulnerability has been resolved:
block: ublk: make sure that block size is set correctly
block size is one very key setting for block layer, and bad block size could panic kernel easily.
Make sure that block size is set correctly.
Meantime if ublk_validate_params() fails, clear ub->params so that disk is prevented from being added.
From the CVE record · Linux
The Linux kernel's ublk component could accept an incorrect block size, which could cause a kernel panic. The description does not specify how an attacker could trigger this, whether authentication or user interaction is required, or whether access is local or remote.
Engineers running Linux kernels with ublk should check their installations; affected versions are not specified.