Skip to content
Not rated

CVE-2026-22982 In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: Fix crash when adding interface…

Description

In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: Fix crash when adding interface under a lag Commit 15faa1f67ab4 ("lan966x: Fix crash when adding interface under a lag") fixed a similar issue in the lan966x driver caused by a NULL pointer dereference. The ocelot_set_aggr_pgids() function in the ocelot driver has similar logic and is susceptible to the same crash. This issue specifically affects the ocelot_vsc7514.c frontend, which leaves unused ports as NULL pointers. The felix_vsc9959.c frontend is unaffected as it uses the DSA framework which registers all ports. Fix this by checking if the port pointer is valid before accessing it.

Affected products and versions

Product Affected versions Fixed in
Linux 6.19 earliest → < 6.19 6.19
Linux 6.18 earliest → < 6.18.6 6.18.6
Linux 6.12 earliest → < 6.12.66 6.12.66
Linux 6.6 earliest → < 6.6.121 6.6.121
Linux 6.1 earliest → < 6.1.161 6.1.161
Linux 5.15 earliest → < 5.15.198 5.15.198
Linux 5.12 No fix stated
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
Show the other branch
Product Affected versions Fixed in
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
The 18286 CVEs of Linux →
Track this CVE