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.
https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621