CVEvulnerability
CVE-2023-52762
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
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 configurations
• linux linux kernel (< 5.15.140)
• linux linux kernel (>= 5.16 < 6.1.64)
• linux linux kernel (>= 6.2 < 6.5.13)
• linux linux kernel (>= 6.6 < 6.6.3)
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 Patch
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 Patch
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b Patch
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 Patch
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be Patch
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 Patch
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 Patch
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b Patch
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 Patch
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be Patch