CVE-2026-143431
net: lan966x: do not warn on MAC entries that are not port destined
Description
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: do not warn on MAC entries that are not port destined lan966x_mac_irq_handler() scans the rows of the MAC table that the analyzer reports as changed, reads back all four columns of each row and treats ANA_MACACCESS.DEST_IDX as a port number. Before this patch, a destination index above num_phys_ports hits a WARN_ON(). The driver installs such entries itself: lan966x_mac_cpu_learn() uses PGID_CPU, and L2 multicast entries use a general-purpose PGID. A row holding one of them is read back whenever another entry in the same row is learned or aged out, so the scan warns in normal operation, repeatedly once the MAC table is busy. Skipping such a column is already the right behaviour. Drop the WARN_ON() and keep the bounds check as a plain filter. Found by an AI code review agent. Reproduced on a lan9668 board by bridging two ports with a 10 s ageing time and sending three rounds of 2048 new source MACs: the base kernel warned 42 times from lan966x_mac_irq_process(), the fixed kernel did not warn.
INFO
Published Date :
Dec. 5, 2026, 1:41 a.m.
Last Modified :
Dec. 5, 2026, 1:41 a.m.
Remotely Exploit :
No
Source :
Linux
Solution
- Update the Linux kernel to the latest version.
- Install the security patch for the lan966x driver.
- Verify the MAC table handling in the kernel.
- Monitor system logs for warning messages.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-143431 vulnerability anywhere in the article.