Skip to contentSkip to conversation

CVE-2026-80617: net: airoha: fix foe_check_time allocation size

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-80617 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18.33 with commit 56b99327a451917f1c17f85fc33ea8293c08a9ee and fixed in 6.18.40 with commit 112b5eff24e044561ee9599a0d34e0fcea1df4e0
	Issue introduced in 6.19 with commit 6d5b601d52a27aafff555b480e538507901c672c and fixed in 7.1.5 with commit 9f7cd1e26d2f1766438edc9b9254f2c618f9ae98
	Issue introduced in 6.19 with commit 6d5b601d52a27aafff555b480e538507901c672c and fixed in 7.2 with commit 5c121ee635680c93d7074becf14cfbaac140f80d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80617

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/airoha/airoha_ppe.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/112b5eff24e044561ee9599a0d34e0fcea1df4e0
	https://git.kernel.org/stable/c/9f7cd1e26d2f1766438edc9b9254f2c618f9ae98
	https://git.kernel.org/stable/c/5c121ee635680c93d7074becf14cfbaac140f80d