Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A use-after-free vulnerability has been fixed in the Linux kernel's pNFS implementation. The issue arose in the 'pnfs_update_layout()' function when the 'NFS_LAYOUT_RETURN' branch was executed. The function first called 'pnfs_prepare_to_retry_layoutget(lo)', and if successful, it then called 'pnfs_put_layout_hdr(lo)' before triggering a tracepoint that still referenced 'lo'. This sequence created a use-after-free condition when the tracepoint accessed 'lo's fields. The vulnerability has been addressed by rearranging the order of operations, moving the tracepoint call before 'pnfs_put_layout_hdr(lo)'.
Exploitation of this vulnerability could lead to a use-after-free condition, potentially allowing for memory corruption or arbitrary code execution.
To reproduce this vulnerability, trigger the 'NFS_LAYOUT_RETURN' branch in the 'pnfs_update_layout()' function. This can be done by manipulating the pNFS layout return process, which will cause the function to reference a layout object 'lo' that has already been freed, creating a use-after-free condition.
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.