In the Linux kernel, the following vulnerability has been resolved: net: sched: fix memory leak in tcindexpartialdestroywork Syzbot reported memory leak in tcindexsetparms(). The problem was in non-freed perfect hash in tcindexpartialdestroywork(). In tcindexsetparms() new tcindexdata is allocated and some fields from old one are copied to new one, but not the perfect hash. Since tcindexpartialdestroywork() is the destroy function for old tcindex_data, we need to free perfect hash to avoid memory leak.