
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability (CVE-2024-26895) was discovered in the Linux kernel's wilc1000 WiFi driver. The issue occurs in the wilc_netdev_cleanup function when cleaning up network interfaces, which can be triggered during interface registration error paths or when removing/unbinding the device from the driver (NVD).
The vulnerability is caused by netdevice unregistration during vif list traversal. When unregistering a net device, since needs_free_netdev is set to true during registration, the netdevice object is freed along with its attached vif object (private netdevice data). The subsequent list traversal attempts to access the freed vif pointer, resulting in a use-after-free condition. The issue has a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could allow a local attacker to cause a denial of service (system crash) or potentially execute arbitrary code through a use-after-free condition in the kernel's WiFi driver (NVD).
The vulnerability can be triggered by removing the module or unbinding the device from the driver using the command: 'echo spi0.1 > /sys/bus/spi/drivers/wilc1000_spi/unbind'. This results in a KASAN warning indicating the use-after-free condition (Kernel Patch).
The issue has been fixed by implementing two mechanisms: 1) Using list_for_each_entry_safe for safe list traversal and modification, and 2) Ensuring RCU grace period completion after each vif removal before freeing the corresponding vif. The fix has been incorporated into various Linux kernel versions (Kernel Patch).
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."