VDB

CVE-2026-22982

CVE-2026-22982 PUBLISHED

net: mscc: ocelot: Fix crash when adding interface under a lag

Reported by linux · Published January 23, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.18.6, 6.12.66, 6.6.121, 6.1.161, 5.15.198

Affected products

VendorProductVersions
LinuxLinux528d3f190c98c8f7d9581f68db4af021696727b2, 528d3f190c98c8f7d9581f68db4af021696727b2, 528d3f190c98c8f7d9581f68db4af021696727b2
LinuxLinux5.12, 0, 5.15.198
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
linuxlinux_kernel5.12, 5.12, 5.12
LinuxLinux6.19, 6.1.161, 6.6.121
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.7, 3.1.6
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6

Timeline

  • Jan 23, 2026 CVE Published
  • Jan 23, 2026 PoC Published (8 in total, the first dated here)
  • Jan 24, 2026 EPSS Score (30 in total, the first dated here)
  • Jan 30, 2026 Security Advisory (116 in total, the first dated here)
  • Jan 30, 2026 CVE Updated
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Oct 4, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-22982
vulnetix vdb fixes CVE-2026-22982

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-22982/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›