[PATCH 11/20] ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()

Rasmus Villemoes rasmus.villemoes at prevas.dk
Sun Dec 6 08:50:26 AEDT 2020


> I only noticed because I needed to add a free of the ug_info in a later
> patch.

Where, ironically, I add a use-after-free bug by freeing ug_info before
the ucc_geth_memclean() call.

:facepalm:



More information about the Linuxppc-dev mailing list