
Exploit for CVE-2026-3437 enabling arbitrary physical memory read/write through the vulnerable Portwell portwell.sys driver via MmMapIoSpace, for local privilege escalation and BYOVD.
Arbitrary physical memory read/write in portwell.sys (Portwell Engineering Toolkits v4.8.2) via MmMapIoSpace. Enables LPE/SYSTEM escalation and BYOVD by interacting with the driver's IOCTL interface.
The driver registers a dispatch routine for IRP_MJ_DEVICE_CONTROL to handle DeviceIoControl calls from usermode.

Inside the dispatch routine we can find a call to sub_11F80.

Looking inside this function reveals the following:
MmMapIoSpace
Going back to the dispatch routine, we can also find a call to sub_11E40.

Looking inside this function reveals the following:
MmMapIoSpace
sc create portwell binPath=C:\windows\temp\portwell.sys type=kernel
sc start portwell
.\cve-2026-3437.exe