cvelo
P4 · Info

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

  • CVE-2026-143431
  • EUVD-2026-145060

Summary

A fix in the Linux kernel lan966x Ethernet driver removes a WARN_ON() in its MAC table interrupt handler. The handler treats the destination index of every changed MAC table row as a port number, and rows the driver itself installs, such as CPU-learned entries using PGID_CPU and some L2 multicast entries, carry indices above the physical port count. Those rows are read back during normal learning and ageing, so the warning fired repeatedly under a busy MAC table. The patch keeps the bounds check as a silent filter. The issue was found by an AI code review agent and reproduced on a lan9668 board. This is a warning and log-noise issue rather than a clearly described security or crash issue.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    5.17none stated
    before 5.17: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.