What’s Vulnerable › Vulnerabilities

CVE-2023-52762: virtio-blk: fix implicit overflow on virtio_max_dma_size

Description

In the Linux kernel, the following vulnerability has been resolved: virtio-blk: fix implicit overflow on virtio_max_dma_size The following codes have an implicit conversion from size_t to u32: (u32)max_size = (size_t)virtio_max_dma_size(vdev); This may lead overflow, Ex (size_t)4G -> (u32)0. Once virtio_max_dma_size() has a larger size than U32_MAX, use U32_MAX instead.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.140, 6.1.64, 6.5.13, 6.6.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52762 or the next vulnerability affects your stack