Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A refcount underflow vulnerability has been identified in the Linux kernel's XSK (eXpress Data Path sockets) component. This issue arises when the system runs out of memory, causing the function responsible for allocating transmission descriptors to fail. In the error handling path, the reference count of the memory pool is decremented, but the socket's reference to the pool is not cleared. As a result, when the socket is later closed, the teardown process mistakenly believes a pool is still attached and attempts to decrement the reference count again, leading to an underflow.
Exploitation of this vulnerability causes a reference count underflow, which can potentially lead to memory corruption or a use-after-free condition.
To reproduce this vulnerability, create multiple XSK sockets on a system with limited memory. When the memory allocation for the transmission descriptors fails, the vulnerability is triggered. The reference count underflow occurs because the pool reference in the socket is not properly cleared before the socket is closed.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.