Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A use-after-free vulnerability has been identified in the Linux kernel's Network Block Device (NBD) subsystem. This issue arises in the 'recv_work' function when the 'NBD_CLEAR_SOCK' and 'NBD_CMD_RECONFIGURE' commands are processed. The vulnerability occurs due to improper management of reference counts, which can lead to a situation where a configuration object is freed while it is still being used, potentially causing memory corruption or other unintended behavior.
Exploitation of this vulnerability leads to a use-after-free condition, which can commonly be exploited to execute arbitrary code or cause a denial-of-service by crashing the system.
The vulnerability can be reproduced by connecting to an NBD device and triggering the 'recv_work' function. This can be done by sending the 'NBD_CMD_RECONFIGURE' command after the 'NBD_CLEAR_SOCK' command has been processed, without properly managing the reference counts of the configuration object. This sequence of commands creates a race condition that the vulnerability exploits.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.