{"id":"CVE-2023-52762","summary":"virtio-blk: fix implicit overflow on virtio_max_dma_size","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-blk: fix implicit overflow on virtio_max_dma_size\n\nThe following codes have an implicit conversion from size_t to u32:\n(u32)max_size = (size_t)virtio_max_dma_size(vdev);\n\nThis may lead overflow, Ex (size_t)4G -\u003e (u32)0. Once\nvirtio_max_dma_size() has a larger size than U32_MAX, use U32_MAX\ninstead.","modified":"2026-04-02T09:43:18.793907Z","published":"2024-05-21T15:30:47.724Z","related":["ALSA-2024:5102","SUSE-SU-2024:2360-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52762.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52762.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52762"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}