A use-after-free vulnerability in the Linux kernel's nvmet_pr_preempt() function was identified and fixed. The flaw involves reading freed memory when handling reservation preemption notifications, potentially causing memory corruption or kernel instability. The issue arises because the old registrant is freed asynchronously but accessed afterward without proper synchronization. The fix involves passing the host ID of the controller that sent the command instead of the freed registrant to avoid accessing freed memory.