Integer overflow in Linux

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 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.

Vulnerability class: Integer Overflow

EPSS: 0.002 (15.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-52762?
CVE-2023-52762 is a medium-severity vulnerability in Linux, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2024-05-21.
How severe is CVE-2023-52762?
Medium severity. CVSS v3 base score is 5.5 out of 10.