CVE-2026-143431

Source
https://cve.org/CVERecord?id=CVE-2026-143431
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143431.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143431
Published
2026-12-05T01:41:11Z
Modified
2026-12-05T03:01:06Z
Summary
net: lan966x: do not warn on MAC entries that are not port destined
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143431.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ccd66e01cbef8b10adc9787b6e3ba1889a63742
Fixed
3f3fdfbbc053d4837161ce106d3b1434c18d1abd
Fixed
395854c19d84d04dcd536ff39d1cf6f328ec90cd
Fixed
c21a9a1d17bd4dc61bc508c34f7bce8fb3b89169
Fixed
2c2017222291f83d83b2540de473402741d74311
Fixed
d671999250049a2a551e2d03e56829ffcb52d705
Show 1 more event Show fewer events
Fixed
2cffcf1aeabb187e4f08fe4f5363128a3c45d786

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143431.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143431.json"