Description
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mediatek: preserve sibling PPE bindings __mtk_ppe_check_skb() clears entry->hash for flows bound to other hardware slots in the same software hash bucket. mtk_flow_offload_stats() then skips their hardware counter updates. L2 cleanup also frees sibling subflows without invalidating their hardware rules. Restrict both cleanup paths to entries assigned to the inspected slot. Two UDP trials reproduced the counter failure on a GL-MT3000/MT7981 running unmodified OpenWrt 25.12.5 with Linux 6.12.94: 1. Start a UDP connection. 2. Add a control connection in a different hash bucket. 3. Add a connection in the first connection's hash bucket. AI code review of the original patch identified the cleanup problem in L2 subflows. Full ARM64 builds with allmodconfig and allyesconfig passed before and after the patch using GCC 14.2.0 and W=1, without new warnings. The builds used CONFIG_WERROR=n because the unmodified ARM64 kernel already emits warnings. Hardware testing has not run for this revision.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c4f033d9e03e99fb024b2300d61e099aa7646bb7 to < c8b73a23591ca175d6cb088d4bfa608fc64e58e7affectedc4f033d9e03e99fb024b2300d61e099aa7646bb7 to < 7b6bebc2465224023289abb268b32651c49c6b2faffectedc4f033d9e03e99fb024b2300d61e099aa7646bb7 to < 5e6438c362d527bfe10b4a472f0ca0bd6435857eaffectedc4f033d9e03e99fb024b2300d61e099aa7646bb7 to < 34cc22a9ce6ae0228dcd09a57df23aea62e22b04affected
Linux Linux
Default version status: affected
5.19affected0 to < 5.19unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc2 to ≤ *unaffected