Junglewise Threat Intelligence

CVE-2026-22982: Linux Kernel NULL pointer dereference in MSCC Ocelot driver

CVE-2026-22982 · Severity: medium · CVSS 5.5 · Published 2026-01-23

Technologies: Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. Vendors: Linux, Siemens.

Executive brief

A vulnerability in the Linux kernel's network driver for Ocelot hardware can cause the system to crash when configuring network interfaces. This occurs specifically when adding a network interface to a Link Aggregation Group (LAG), which is a common method for combining multiple network connections for redundancy or speed. An attacker with local access could exploit this to cause a denial-of-service, disrupting network operations and system availability.

Technical details

A NULL pointer dereference exists in the ocelot_set_aggr_pgids() function within the MSCC Ocelot network driver (drivers/net/ethernet/mscc/ocelot.c). The vulnerability is triggered when the driver attempts to access port properties for unused ports that are represented as NULL pointers in the ocelot_vsc7514.c frontend. This occurs during the configuration of Link Aggregation Groups (LAG). A local attacker can trigger this crash to cause a denial-of-service. The issue has been resolved by adding a validation check for the port pointer before dereferencing it. The fix has been backported to various stable kernel branches including 5.15.y, 6.1.y, 6.6.y, and 6.12.y.

Affected products

  • Linux Linux 5.12 to 6.13.y
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.6

Timeline

  • 2025-12-25: disclosed: Initial patch submitted by Jerry Wu
  • 2026-01-04: patched: Patch committed to mainline kernel
  • 2026-01-23: advisory: NVD publication date

References

Related threats