BSOD Bad_Pool_Caller at random times

Solution
Both dumps indicate that the file NETIO.sys attempted to free a pool that was already free. First thing I would do is update your LAN driver from the link below at the Gigabyte website:

https://www.gigabyte.com/Motherboard/GA-Z77X-D3H-rev-10#support-dl-driver-lan

The dump file indicated your BIOS was up to date already, save for a couple of beta BIOS versions, but I don't recommend them unless they fix critical issues you are facing, or add critical features you need. The beta BIOS's for your board do neither.

If the LAN driver doesn't fix the problem, I would definitely update your copy of Windows 10 to the latest available. The dump indicated you are currently running RedStone 2 (Build 1703 - Creators Update). Updating to the April...
Both dumps indicate that the file NETIO.sys attempted to free a pool that was already free. First thing I would do is update your LAN driver from the link below at the Gigabyte website:

https://www.gigabyte.com/Motherboard/GA-Z77X-D3H-rev-10#support-dl-driver-lan

The dump file indicated your BIOS was up to date already, save for a couple of beta BIOS versions, but I don't recommend them unless they fix critical issues you are facing, or add critical features you need. The beta BIOS's for your board do neither.

If the LAN driver doesn't fix the problem, I would definitely update your copy of Windows 10 to the latest available. The dump indicated you are currently running RedStone 2 (Build 1703 - Creators Update). Updating to the April 2018 Update (Redstone 4 - Build 1803) may also resolve the problem.
 
Solution