The ntsync driver implementing NT synchronization primitives was merged for Linux 6.14. This repository contains the source of a Debian package that uses DKMS to automatically build and install the ntsync kernel modules on Debian Bookworm (Linux 6.1) and Trixie/Sid (Linux 6.12). Although untested, it should also work on Debian derivates like Ubuntu.
Current ntsync version is 6.14 from mainline.
Build and install the .deb package as follows:
sudo dpkg-deb -b ntsync-dkms.deb.d ntsync-dkms_6.14.0_all.deb
sudo apt install ./ntsync-dkms_6.14.0_all.deb