(see the following posts in this thread for updates)
We have discovered an issue with the new ExAllocatePoolZero function that appears in the WDK for Windows 2004. The bug also affects ExAllocatePoolQuotaZero, and ExAllocatePoolPriorityZero.
In short, using these functions will result in security vulnerabilities and crashes in drivers running on Windows 1909 (only… drivers running on earlier or later versions of Windows will not experience this issue).
Microsoft is aware of the issue.
For a complete description of the issue, as well as suggested actions and work-around, see our Developers Blog post.
We cannot emphasize strongly enough: Do not use these functions until you understand this bug.
Peter