syzbot has bisected this issue to: commit b41b6f6937dc89e072b334e8d814487cb4692770 Author: Christoph Hellwig <hch@xxxxxx> Date: Wed May 31 07:54:09 2023 +0000 btrfs: use btrfs_finish_ordered_extent to complete direct writes bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14761374a80000 start commit: 1c7873e33645 mm: lock newly mapped VMA with corrected orde.. git tree: upstream final oops: https://syzkaller.appspot.com/x/report.txt?x=16761374a80000 console output: https://syzkaller.appspot.com/x/log.txt?x=12761374a80000 kernel config: https://syzkaller.appspot.com/x/.config?x=9831e2c2660aae77 dashboard link: https://syzkaller.appspot.com/bug?extid=5b82f0e951f8c2bcdb8f syz repro: https://syzkaller.appspot.com/x/repro.syz?x=109dcf08a80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13dadfb4a80000 Reported-by: syzbot+5b82f0e951f8c2bcdb8f@xxxxxxxxxxxxxxxxxxxxxxxxx Fixes: b41b6f6937dc ("btrfs: use btrfs_finish_ordered_extent to complete direct writes") For information about bisection process see: https://goo.gl/tpsmEJ#bisection