Linux kernel
cpe:2.3:o:kernel:linux_kernel:*:*:*:*:*:*:*
- >= 6.4.0-rc5, < 6.4.0-rc5-01219-gfa0e21fa4443
A use-after-free vulnerability has been identified in the Linux kernel's GTP (GPRS Tunneling Protocol) subsystem, specifically within the function '__gtp_encap_destroy()'. This vulnerability arises because the function improperly manages socket references, leading to the potential for illegal memory access. The issue was reported by syzkaller, which demonstrated that a socket was freed and then accessed again, causing a use-after-free condition. The vulnerability affects several versions of the Linux kernel.
Exploitation of this vulnerability leads to a use-after-free condition, where memory that has already been freed is accessed again. This can potentially allow for arbitrary code execution or memory corruption.
The vulnerability can be reproduced by creating a socket and then deleting it while still holding a reference to its user data. This can be done by using the GTP subsystem to manage the socket, and then triggering the deletion process through the network device uninitialization routine. The syzkaller tool can automate this process, as it has been used to discover the vulnerability.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been fixed. Instructions for downloading the patched version can be found in the 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.