
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 cfusbl_device_notify() 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 unregister_netdevice_many_notify() sets the device's reg_state to NETREG_UNREGISTERING, calls notifiers with NETDEV_UNREGISTER, and adds the device to the todo list. When cfusbl_device_notify() is called with NETDEV_UNREGISTER multiple times, the parent device might be freed, leading to a use-after-free condition. Additionally, processing NETDEV_UNREGISTER 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 vulnerability requires access to the system with the ability to trigger network device unregistration operations. It can be triggered through the NETDEV_UNREGISTER notification being called multiple times on the same device (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."