Details
-
Bug
-
Resolution: Fixed
-
Critical
-
September 2016
Description
The affected code steps through a linked list of IPDATAGRAM_REASSEMBLY structures and releases them all back to a nonpaged lookaside list. Each time, the next entry in the list is being found by following a pointer in the current structure, while it has already been released to the lookaside list. This should be corrected in the attached patch.
Note that the Flink field in the LIST_ENTRY that is used to find the next entry coincides with the Next field SLIST_ENTRY. So the current situation would be corrupting either the lookaside list the entry was released to, or the non-paged pool if the lookaside list was full. This would very easily lead to a bugcheck, so this particular piece of code may not be executed frequently (only when the driver is unloaded it seems).