CVE-2023-52762

Source
https://cve.org/CVERecord?id=CVE-2023-52762
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52762.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52762
Downstream
Related
Published
2024-05-21T15:30:47.724Z
Modified
2026-03-23T05:06:13.656915697Z
Summary
virtio-blk: fix implicit overflow on virtio_max_dma_size
Details

In the Linux kernel, the following vulnerability has been resolved:

virtio-blk: fix implicit overflow on virtiomaxdma_size

The following codes have an implicit conversion from sizet to u32: (u32)maxsize = (sizet)virtiomaxdmasize(vdev);

This may lead overflow, Ex (sizet)4G -> (u32)0. Once virtiomaxdmasize() has a larger size than U32MAX, use U32MAX instead.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52762.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fd1068e1860e44aaaa337b516df4518d1ce98da1
Fixed
72775cad7f572bb2501f9ea609e1d20e68f0b38b
Fixed
472bd4787406bef2e8b41ee4c74d960a06a49a48
Fixed
017278f141141367f7d14b203e930b45b6ffffb9
Fixed
d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
Fixed
fafb51a67fb883eb2dde352539df939a251851be

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52762.json"