Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e69d7653b98bade91855f2d0c4f55cb8dbcb16d5
      
https://github.com/tianocore/edk2/commit/e69d7653b98bade91855f2d0c4f55cb8dbcb16d5
  Author: Sherry Fan <sherry...@microsoft.com>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
    M MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c

  Log Message:
  -----------
  MdeModulePkg: XhciDxe: Fix USB reset issue: use after free

`XhcFreeUrb` attempts to unmap `Urb->DataMap` after
`FreePool(Urb->Data)` has already been called in some cases, causing a
use after free. Change the ordering so `Data` is freed after `Unmap`and
only freed when appropriate.

Signed-off-by: Sherry Fan <sherry...@microsoft.com>


  Commit: 6d37ca427eac6b60be27ef8fc266a3157f23b040
      
https://github.com/tianocore/edk2/commit/6d37ca427eac6b60be27ef8fc266a3157f23b040
  Author: Sherry Fan <sherry...@microsoft.com>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c

  Log Message:
  -----------
  MdeModulePkg: XhciDxe: Fix USB reset issue: callback / update order

As noted in the comment above the callback invocation,
the URB's callback may free the URB, so any
operations, including updates, must occur before the callback.

Signed-off-by: Sherry Fan <sherry...@microsoft.com>


  Commit: 8d984e6a5742220d2b28bd85121000136d820fcb
      
https://github.com/tianocore/edk2/commit/8d984e6a5742220d2b28bd85121000136d820fcb
  Author: Sherry Fan <sherry...@microsoft.com>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c

  Log Message:
  -----------
  MdeModulePkg: XhciDxe: Fix comment grammar in XhcMonitorAsyncRequests

Clarify wording of the comment before the callback in XhcMonitorAsyncRequests.

Signed-off-by: Sherry Fan <sherry...@microsoft.com>


Compare: https://github.com/tianocore/edk2/compare/b58ce4c22676...8d984e6a5742

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to