
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-53138 is a use-after-free vulnerability discovered in the Linux kernel's CAIF USB layer, specifically in the cfusbldevicenotify() function. The vulnerability was reported by syzbot and affects the net/caif/caif_usb.c component (NVD, Debian Tracker).
The vulnerability occurs when unregistering a net device, where unregisternetdevicemanynotify() sets the device's regstate to NETREGUNREGISTERING, calls notifiers with NETDEVUNREGISTER, and adds the device to the todo list. When cfusbldevicenotify() is called with NETDEVUNREGISTER multiple times, the parent device might be freed, leading to a use-after-free condition. Additionally, processing NETDEVUNREGISTER multiple times causes an imbalance in the reference count for the module (NVD).
The vulnerability could lead to a use-after-free condition in the Linux kernel, potentially resulting in system crashes, memory corruption, or possible privilege escalation. The issue affects the kernel's CAIF USB subsystem and could be triggered during network device unregistration operations (NVD).
The issue has been fixed by modifying the code to accept only the first NETDEV_UNREGISTER notification. The fix has been implemented in various Linux kernel versions, including version 6.1.119-1~deb11u1 for Debian 11 (Debian LTS).
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."