CVE-2025-38517
BaseFortify
Publication date: 2025-08-16
Last updated on: 2025-11-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's memory allocation tagging system. The function alloc_tag_top_users() tries to acquire a lock (mod_lock) on a data structure (alloc_tag_cttype) even when this data structure is not allocated or initialized. This happens in cases where memory profiling is disabled, not yet initialized, or failed initialization. Attempting to acquire a lock on a non-existent semaphore leads to a kernel crash (general protection fault) during memory allocation failures.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash during memory allocation failures, leading to system instability or downtime. Specifically, it triggers a general protection fault due to attempting to lock a non-existent semaphore, which can disrupt normal system operations and potentially cause service interruptions.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that your Linux kernel is updated to a version where the issue in alloc_tag_top_users() has been fixed. This involves verifying that alloc_tag_cttype is properly initialized before attempting to acquire its semaphore, which prevents crashes due to null or invalid pointers. If updating is not immediately possible, consider disabling memory profiling or alloc tagging features until a patched kernel is applied.