
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability has been identified in the devlink error handling mechanism. The issue involves incorrect handling of xa_alloc_cyclic() return values, where a return value of 1 (indicating wrapping) results in ERR_PTR(1) being returned, causing IS_ERR() to return false. This vulnerability was discovered on April 8, 2025, and affects the Linux kernel's devlink subsystem (NVD).
The vulnerability stems from improper error handling in the xa_alloc_cyclic() function within the devlink subsystem. When xa_alloc_cyclic() returns 1 to indicate wrapping, the function returns ERR_PTR(1), which leads to IS_ERR() returning false. This can subsequently result in dereferencing an unallocated pointer. The issue was discovered during code review rather than in a real-world use case (NVD).
The vulnerability can lead to dereferencing of unallocated pointers in the Linux kernel's devlink subsystem, potentially causing system instability or crashes. This issue affects various Linux distributions including Ubuntu 24.04 LTS and 24.10 (Ubuntu).
The vulnerability was not discovered in a real-world use case but was identified during code review. There are no known active exploits in the wild (NVD).
The fix involves modifying the error handling logic to check if the error value is lower than zero. This ensures proper handling of the xa_alloc_cyclic() return value and prevents the dereferencing of unallocated pointers (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."