CVE-2026-143431
net: lan966x: do not warn on MAC entries that are not port destined
- Scores
- UnknownNo source reports a CVSS or EPSS score yet.
- Exploitation
- UnknownNo source reports exploitation yet.
- Listed fix
6.1.193for KernelFrom OSV4 more listed versions
Overview
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.
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
KernelLinux | 5.17.0 up to 6.1.193, 6.2.0 up to 6.6.163, 6.7.0 up to 6.12.119, 6.13.0 up to 6.18.65, 6.19.0 up to 7.3.6 | 6.1.1936.6.1636.12.1196.18.657.3.6 |
Products 1
Sources
CVE ListNo score
net: lan966x: do not warn on MAC entries that are not port destined
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.
- Record
CVE-2026-143431- Updated
- 2026-12-05
EUVDEUVD-2026-145060No score
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.
- Record
EUVD-2026-145060- Updated
- 2026-12-05
GitHub AdvisoriesGHSA-mc3f-wg34-c3h5No score
In the Linux kernel, the following vulnerability has been resolved: net: lan966x: do not warn on...
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.
- Record
GHSA-mc3f-wg34-c3h5- Updated
- 2026-12-05
NVDNo score
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.
- Record
CVE-2026-143431- Updated
- 2026-12-05
OSVNo score
net: lan966x: do not warn on MAC entries that are not port destined
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.
- Record
CVE-2026-143431- Updated
- 2026-12-05
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Other IDs, published date | EUVD | |
| Other IDs, references | GitHub Advisories, NVD | |
| Affected packages, key facts, references | OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
git.kernel.org/stable/c/3f3fdfbbc053d4837161ce106d3b1434c18d1abd
git.kernel.org/stable/c/395854c19d84d04dcd536ff39d1cf6f328ec90cd
git.kernel.org/stable/c/c21a9a1d17bd4dc61bc508c34f7bce8fb3b89169
git.kernel.org/stable/c/2c2017222291f83d83b2540de473402741d74311
git.kernel.org/stable/c/d671999250049a2a551e2d03e56829ffcb52d705
git.kernel.org/stable/c/2cffcf1aeabb187e4f08fe4f5363128a3c45d786
nvd.nist.gov/vuln/detail/CVE-2026-143431
github.com/advisories/GHSA-mc3f-wg34-c3h5
git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143431.json