In the Linux kernel, the following vulnerability has been resolved: net: airoha: fix foe_check_time allocation size foe_check_time is declared as u16 pointer but was allocated with only ppe_num_entries bytes instead of ppe_num_entries * sizeof(u16). When airoha_ppe_foe_verify_entry() is called with hash >= ppe_num_entries/2, it writes beyond the allocated buffer, causing heap buffer overflow and potential kernel crash.
https://git.kernel.org/stable/c/9f7cd1e26d2f1766438edc9b9254f2c618f9ae98
https://git.kernel.org/stable/c/5c121ee635680c93d7074becf14cfbaac140f80d
https://git.kernel.org/stable/c/112b5eff24e044561ee9599a0d34e0fcea1df4e0