CVE-2023-52762

virtio-blk: fix implicit overflow on virtio_max_dma_size

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:30 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1405.1 ≤ v < 5.15.1405.1 ≤ v < 6.1.645.1 ≤ v < 6.5.135.1 ≤ v < 6.6.35.1 ≤ v < 6.75.16 ≤ v < 6.1.646.2 ≤ v < 6.5.136.6 ≤ v < 6.6.35.1fd1068e1860e44aaaa337b516df4518d1ce98da1
Vendor states this is fixed in 017278f141141367f7d14b203e930b45b6ffffb9 (fixed)
Vendor states this is fixed in 472bd4787406bef2e8b41ee4c74d960a06a49a48 (fixed)
Vendor states this is fixed in 72775cad7f572bb2501f9ea609e1d20e68f0b38b (fixed)
Vendor states this is fixed in d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 (fixed)
Vendor states this is fixed in fafb51a67fb883eb2dde352539df939a251851be (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card