CVE-2023-52762·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.6.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update your Linux kernel to version 6.6.3 or later to patch a data type overflow issue in the virtio-blk subsystem. This vulnerability affects kernel versions 6.6 through 6.6.2 and can cause denial of service conditions when the DMA size calculation overflows from a 64-bit value to 32-bit storage. Prioritize this update for systems running affected kernel versions, especially those using virtio block devices in virtualized environments.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r (should show 6.6.3 or higher if patched)
- Verify virtio-blk module is loaded: lsmod | grep virtio_blk (confirms exposure on virtualized systems)
- Search kernel logs for DMA-related errors: dmesg | grep -i 'dma\|virtio' (look for overflow or allocation failures)
- Confirm patch application by checking kernel build info: cat /proc/version (ensure compiled after 6.6.3 release date)
FAQ
What is CVE-2023-52762?
This is a data type conversion vulnerability in the Linux kernel's virtio-blk driver where a 64-bit DMA size value is unsafely cast to a 32-bit integer, potentially causing it to wrap to zero or an incorrect value when the actual DMA size exceeds 4GB. This can lead to memory access violations and denial of service.
Is CVE-2023-52762 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and has no public exploits available. However, it can be triggered through normal block device operations on affected systems.
What versions of Kernel are affected by CVE-2023-52762?
Linux kernel versions 6.6 through 6.6.2 are vulnerable. Kernel version 6.6.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-52762?
Run `uname -r` and check if the output shows 6.6.0, 6.6.1, or 6.6.2. If it does, your system is vulnerable. Additionally, confirm virtio-blk is in use with `lsmod | grep virtio_blk`.
Does Defensia detect CVE-2023-52762?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52762 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9
- https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48
- https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b
- https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90
- https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52762. Free for 1 server.
Get started free