
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-53172 affects the Linux kernel's UBI (Unsorted Block Images) fastmap functionality. The vulnerability was discovered in December 2024 and involves duplicate slab cache names being created during the UBI fast attaching process. This issue specifically affects the kernel's UBI subsystem when using fastmap with CONFIG_DEBUG_VM=y enabled (Kernel Git).
The vulnerability occurs when the alloc_ai() function is invoked twice with the same slab cache name 'ubi_aeb_slab_cache'. This issue was introduced after commit 4c39529663b9 ("slab: Warn on duplicate cache names when DEBUG_VM=y"), which added detection for duplicate slab cache names. When triggered, the system generates warning messages indicating that a kmem_cache with the name 'ubi_aeb_slab_cache' already exists, leading to a kernel WARNING at mm/slab_common.c:107 __kmem_cache_create_args+0x100/0x5f0 (Kernel Git).
The vulnerability results in kernel warnings being triggered when using UBI with fastmap functionality and CONFIG_DEBUG_VM=y enabled. While primarily affecting debug configurations, it could potentially impact system stability and logging functionality (Kernel Git).
The issue has been fixed by modifying the alloc_ai() function to use different slab names for different callers. The fix involves adding a parameter to specify unique slab cache names for each allocation context. This solution has been implemented in various kernel versions through backported patches (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."