description: A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect.c in the Linux kernel. The issue occurs when it forgets to set the free pointer server->hostname to NULL, leading to an invalid pointer request.
problem types: CWE-416
affected:
{
vendor: n/a
product: Kernel
versions:
version: prior to kernel 6.1 rc3, status: affected
}