CVE-2023-52762
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.01%• Percentile: 1%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- linux•linux
≥ fd1068e1860e44aaaa337b516df4518d1ce98da1, < 72775cad7f572bb2501f9ea609e1d20e68f0b38b | ≥ fd1068e1860e44aaaa337b516df4518d1ce98da1, < 472bd4787406bef2e8b41ee4c74d960a06a49a48 | ≥ fd1068e1860e44aaaa337b516df4518d1ce98da1, < 017278f141141367f7d14b203e930b45b6ffffb9 | ≥ fd1068e1860e44aaaa337b516df4518d1ce98da1, < d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 | ≥ fd1068e1860e44aaaa337b516df4518d1ce98da1, < fafb51a67fb883eb2dde352539df939a251851be | 5.1
- linux•linux_kernel
< 5.15.140 | ≥ 5.16, < 6.1.64 | ≥ 6.2, < 6.5.13 | ≥ 6.6, < 6.6.3
References (5)
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be