A use-after-free vulnerability in the Linux kernel's net/9p/usbg subsystem was fixed. The flaw involved freeing USB request objects before disabling their endpoints, allowing potential access to freed memory if requests were still queued. The fix changes the order to disable endpoints before freeing requests, preventing invalid memory access.