A use-after-free vulnerability was identified and resolved in the Linux kernel's HID subsystem (hiddev). The issue arises due to improper mutex unlocking sequence during device disconnect, which can lead to freeing memory while still in use by another thread.