CVE-2026-22982CWE-476

CVE-2026-22982

Medium · published January 23, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
3.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00142 · 3.2th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-01-23T21:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.12, < 5.15.1985.15.198
linux/linux_kernel≥ 5.16, < 6.1.1616.1.161
linux/linux_kernel≥ 6.2, < 6.6.1216.6.121
linux/linux_kernel≥ 6.7, < 6.12.666.12.66
linux/linux_kernel≥ 6.13, < 6.18.66.18.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 23 JAN 15:24Z
    net: mscc: ocelot: Fix crash when adding interface under a lag
    cvelistv5