[PATCH] ntfs3: fix out-of-bounds write in do_action() bitmap operations

From: Tanuj Sharma

Date: Fri Nov 20 2026 - 21:23:02 EST


Hi,

This patch fixes an out-of-bounds heap write in the ntfs3 log replay
path triggered by mounting a crafted NTFS image. The buffer is sized
by bytes_per_index but bounds-checked against the larger lco, allowing
bitmap operations to write past the allocation.

Thanks,
Tanuj Sharma