CVE-2023-52762
Severity CVSS v4.0:
Pending analysis
Type:
CWE-190
Integer Overflow or Wraparound
Publication date:
21/05/2024
Last modified:
23/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
virtio-blk: fix implicit overflow on virtio_max_dma_size<br />
<br />
The following codes have an implicit conversion from size_t to u32:<br />
(u32)max_size = (size_t)virtio_max_dma_size(vdev);<br />
<br />
This may lead overflow, Ex (size_t)4G -> (u32)0. Once<br />
virtio_max_dma_size() has a larger size than U32_MAX, use U32_MAX<br />
instead.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.140 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.64 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.5.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6 (including) | 6.6.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be



