]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/ArpDxe: Recycle invalid ARP packets (CVE-2019-14559)
authorSiyuan Fu <siyuan.fu@intel.com>
Fri, 21 Feb 2020 02:14:18 +0000 (10:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 21 Feb 2020 03:01:57 +0000 (03:01 +0000)
commit1d3215fd24f47eaa4877542a59b4bbf5afc0cfe8
tree9ccb4188e674efd81298daf8dd6d50a72ce35cc5
parentb85048261aa5dc0b8fd98ddc4431d8c2a6389b25
NetworkPkg/ArpDxe: Recycle invalid ARP packets (CVE-2019-14559)

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2031

This patch triggers the RecycleEvent for invalid ARP packets.
Prior to this, we would just ignore invalid ARP packets,
and never free them.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Nicholas Armour <nicholas.armour@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
NetworkPkg/ArpDxe/ArpImpl.c