
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability has been discovered in the USB CDC ACM driver that could lead to memory corruption. The issue occurs when processing fragmented notifications where if the first fragment is shorter than struct usb_cdc_notification, the code cannot calculate an expected_size correctly. This vulnerability has been present since the beginning of git history but only leads to memory corruption since commit ea2583529cd1 ("cdc-acm: reassemble fragmented notifications") (Kernel Git).
The vulnerability exists in the acm_ctrl_irq() function where lengths are read from memory outside the received data when processing fragmented notifications. This can lead to memory corruption when the expected_size decreases between fragments, causing expected_size - acm->nb_index to wrap. The issue stems from insufficient validation of the notification header size before accessing its fields (Kernel Git).
The vulnerability could allow an attacker to cause memory corruption in the Linux kernel. However, a mitigating factor is that acm_ctrl_irq() can only execute after userspace has opened /dev/ttyACM*. Though if ModemManager is running, it will automatically open these devices depending on the USB device's vendor/product IDs and its other interfaces (Kernel Git).
The issue has been fixed by adding proper size validation before accessing the notification header. The fix checks if the first fragment contains at least the complete notification header before attempting to calculate the expected size (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."