
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability has been identified in the Linux kernel's memory allocation tagging system (CVE-2025-38517). The issue occurs in the alloctagtopusers() function which attempts to lock alloctagcttype->modlock even when the alloctagcttype is not allocated, leading to potential system crashes. This vulnerability was discovered on August 16, 2025, and affects the Linux kernel version 6.16.0-rc2 and potentially other versions (NVD).
The vulnerability stems from the alloctagtopusers() function attempting to acquire a semaphore lock that doesn't exist. This occurs in three scenarios: when memory profiling is disabled, when alloc tagging is enabled but not initialized, or when alloc tagging initialization has failed. The issue became more prominent after commit 780138b12381 which introduced changes to memory profiling support checks in alloctag_init(). When triggered, the vulnerability results in a general protection fault with a null pointer dereference, causing system crashes (NVD).
When exploited, this vulnerability leads to system crashes due to attempting to acquire a non-existent semaphore, resulting in a general protection fault. This can cause system instability and potential denial of service conditions, particularly affecting systems where memory allocation profiling is disabled or not properly initialized (NVD).
The recommended fix involves verifying that alloctagcttype is a valid pointer before attempting to acquire the semaphore. If the variable is NULL or contains an error value, the semaphore acquisition should be skipped. This prevents the system from attempting to access non-existent lock structures (NVD).
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."