A vulnerability in the Linux kernel's NTFS runlist merge functionality has been addressed by introducing a new merge function that preserves the source runlist. The previous function freed the source runlist after merging, complicating undo operations due to run coalescing. The new approach avoids modifying or freeing the source runlist, improving correctness and error handling. Additionally, the merge now fails with an error when the source runlist has no mapped runs, preventing invalid indexing.