CVE-2023-52762
JSON

5.5medium

virtio-blk: fix implicit overflow on virtio_max_dma_size

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom fd1068e1860e44aaaa337b516df4518d1ce98da1 before ea02a64659b37d73a5cddd0378cabb58ba4f070c, from fd1068e1860e44aaaa337b516df4518d1ce98da1 before 72775cad7f572bb2501f9ea609e1d20e68f0b38b, from fd1068e1860e44aaaa337b516df4518d1ce98da1 before 472bd4787406bef2e8b41ee4c74d960a06a49a48, from fd1068e1860e44aaaa337b516df4518d1ce98da1 before 017278f141141367f7d14b203e930b45b6ffffb9, from fd1068e1860e44aaaa337b516df4518d1ce98da1 before d667fe301dcbcb12d1d6494fc4b8abee2cb75d90, from fd1068e1860e44aaaa337b516df4518d1ce98da1 before fafb51a67fb883eb2dde352539df939a251851be, 5.1
Not affected: before 5.1, from 5.10.276 up to 5.10.*, from 5.15.140 up to 5.15.*, from 6.1.64 up to 6.1.*, from 6.5.13 up to 6.5.*, from 6.6.3 up to 6.6.*
CVE List
linux linux_kernelbefore 5.15.140, from 5.16 before 6.1.64, from 6.2 before 6.5.13, from 6.6 before 6.6.3NVD

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: virtio-blk: corrige el desbordamiento implícito en virtio_max_dma_size. Los siguientes códigos tienen una conversión implícita de size_t a u32: (u32)max_size = (size_t)virtio_max_dma_size(vdev); Esto puede provocar un desbordamiento, Ex (size_t)4G -> (u32)0. Una vez que virtio_max_dma_size() tenga un tamaño mayor que U32_MAX, use U32_MAX en su lugar.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52762 changed 2026-12-01CVE Terms of Use
NVDCVE-2023-52762 changed 2026-12-01Public domain