Re: [BUG] ntfs: mrec_lock ABBA deadlock between writeback/fsync and rename

From: Namjae Jeon

Date: Mon Jun 29 2026 - 01:18:26 EST


On Mon, Jun 29, 2026 at 1:25 PM Peiyang He <peiyang_he@xxxxxxxxxxxxxxxx> wrote:
>
> Hello Linux kernel developers and maintainers,
Hello Peiyang,

>
> We found two task hungs in the new NTFS when fuzzing with Syzkaller.
> After our digging, we believe both hangs are caused by the SAME AB-BA type DEADLOCK issue,
> so we report them together here.
>
> Title of task hung #1: INFO: task hung in __ntfs_write_inode
> Title of task hung #2: INFO: task hung in ntfs_inode_sync_filename
>
> Kernel version: commit 8cd9520d35a6c38db6567e97dd93b1f11f185dc6 (tag v7.1).
> And we believe the bug is also possible in the current mainline.
> Note that the code line numbers in the following analysis are also based on this kernel version.
>
> Relevant kernel config: (the complete config is included in the attachments)
Do you have a suggested patch you can get credit for?
Thanks.