Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's net-shaper component can lead to a double free of a socket buffer (skb) after a generic netlink reply. This issue arises because the netlmsg_reply function transfers the skb to netlink, which then consumes it. If an error occurs, the skb can be freed, but netlink_unicast still attempts to process it, leading to a double free. The vulnerability affects the Linux kernel stable tree.
Exploitation of this vulnerability can cause a double free condition, which may lead to memory corruption and potentially allow for arbitrary code execution.
The vulnerability can be reproduced by invoking the net_shaper_nl_get_doit() or net_shaper_nl_cap_get_doit() functions after a generic netlink reply has been sent. The current implementation frees the message buffer on an error, but this can be bypassed by directly returning the reply error, thus avoiding the double free.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.