CVE-2026-143431: net: lan966x: do not warn on MAC entries that are not port destined

Published Dec 5, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: lan966x: do not warn on MAC entries that are not port destined

lan966xmacirqhandler() scans the rows of the MAC table that the analyzer reports as changed, reads back all four columns of each row and treats ANAMACACCESS.DESTIDX as a port number.

Before this patch, a destination index above numphysports hits a WARNON(). The driver installs such entries itself: lan966xmaccpulearn() uses PGIDCPU, 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 WARNON() 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 lan966xmacirqprocess(), the fixed kernel did not warn.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.17.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6

Event History

Dec 5, 2026
CVE Published
via MITRE·01:41 AM
Data Sourced
via MITRE·01:41 AM
Description
Data Sourced
via OSV·01:41 AM
DescriptionAffected Software
Data Sourced
via NVD·03:19 AM
Description

Frequently Asked Questions

1

Which systems are affected in practice?

Systems using the Linux kernel lan966x Ethernet driver on LAN9668-class hardware are implicated. The warning was reproduced on a LAN9668 board while bridging two ports with a 10-second MAC ageing time and generating many new source MAC addresses.

2

What conditions trigger the warning?

The driver can encounter its own MAC-table entries whose destination index is a CPU or general-purpose PGID rather than a physical port. When another entry in the same MAC-table row is learned or aged out, the interrupt handler reads that row and can issue a warning if the destination index exceeds the physical-port count.

3

Does this indicate that traffic is being incorrectly forwarded?

The provided information describes erroneous kernel warnings during MAC-table scanning, not incorrect forwarding. Entries not destined for a physical port are meant to be skipped by the bounds-check filter.

4

How can I identify this issue on an affected system?

Look for repeated warnings originating from lan966x_mac_irq_process() during normal MAC learning or ageing activity. In the reported reproduction, a busy MAC table produced 42 warnings on the unpatched kernel.

5

What changes when the fix is applied?

The fix removes the WARN_ON() for destination indices outside the physical-port range while retaining the bounds check as a filter. Such CPU and general-purpose PGID entries are skipped, and the reported fixed kernel emitted no warnings in the reproduction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203