
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47561 affects the Linux kernel's I2C (Inter-Integrated Circuit) virtio driver. The vulnerability was discovered in the timeout handling mechanism of the virtio I2C frontend driver. When a timeout occurs during I2C bus operations, it can result in incorrect data on the I2C bus and potential memory corruptions in the guest system, as the device may continue operating on buffers that have been freed by the guest (Kernel Git).
The vulnerability occurs in the virtio I2C driver's timeout handling functionality. When a timeout is triggered, the driver frees the buffers while the device might still be operating on them, leading to a use-after-free condition. This was confirmed through slub_debug analysis which showed memory corruption where a freed buffer was being accessed, specifically showing a 'Poison overwritten' error with 'First byte 0x1 instead of 0x6b' (Kernel Git).
The vulnerability can lead to incorrect data transmission on the I2C bus and memory corruptions in the guest system. This occurs because the device continues to operate on buffers that have been freed by the guest system, potentially leading to data integrity issues and system stability problems (Kernel Git).
As a temporary solution, the timeout handling functionality has been disabled in the driver. This was implemented because there was no simple fix available - the alternative would have required the driver to always create bounce buffers and maintain them until the device returns the buffers. The fix was implemented through a patch that removes the timeout handling code (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."