Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's netlink implementation can lead to a denial-of-service condition. This issue arises from improper management of socket receive buffers, specifically the 'sk_rmem_alloc' and 'sk_rcvbuf' values. When 'SO_RCVBUFFORCE' is set to 'INT_MAX', the netlink layer can be manipulated to exceed buffer limits, causing memory allocation issues that lead to out-of-memory conditions. The vulnerability is present in several versions of the Linux kernel.
Exploitation of this vulnerability causes memory allocation problems that can lead to out-of-memory conditions, causing the system to run out of available memory resources.
The vulnerability can be reproduced by setting the 'SO_RCVBUFFORCE' socket option to 'INT_MAX'. This can be done using a socket programming technique that allows manipulation of socket options. Once this is set, the netlink layer can be flooded with messages, exceeding the receive buffer limits and causing the 'sk_rmem_alloc' value to wrap around negatively, which can be observed using the 'ss' command with the '-f netlink' option.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation or through the package management system of the Linux distribution in use.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.