Linux kernel bug fix: net: mscc: ocelot: mark traps with a bool instead of keeping them in a list
Subsystem: drivers/net (drivers/net/ethernet/mscc/ocelot_flower.c)
Bug type: use-after-free, severity: high
Keywords: use after free;null pointer
Files changed: drivers/net/dsa/ocelot/felix.c;drivers/net/ethernet/mscc/ocelot.c;drivers/net/ethernet/mscc/ocelot_flower.c;include/soc/mscc/ocelot_vcap.h
Introduced by Vladimir Oltean on 2022-02-17 14:06:51 +0000; fixed by Vladimir Oltean on 2022-05-05 19:15:14 -0700 (lifetime: 77 days)