Directory filtering needs to be fixed, one weird filename or symlink will make it BSOD.
SSDT should probably have a lock. The chance of a race is ~low (higher under heavy sustained workloads) but it's too important to leave to chance.
I'd probably do a rebuild of the directory lists in a separate buffer instead of working in place to avoid alignment fuckups.
Yes I used LLMs, just like I did for all of the other vulns I've found or refined. As you can see from the source, this shit is tedious as hell. Doesn't change the value of knowing what to look/ask for.
Give one of those open models a fresh windows box (not a VM) and tell it to fuck something up, it's fun.