A use-after-free vulnerability in the Linux kernel's NTFS driver was fixed by changing how the runlist pointer is handled when undoing $MFT extension operations. The flaw involved using a stale pointer after the runlist could be reallocated, leading to potential memory safety issues.