NetSight
medium5.5

CVE-2023-52762

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 implic…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
before 5.15.140
from 5.16 before 6.1.64
from 6.2 before 6.5.13
from 6.6 before 6.6.3

Weakness classification

References