CVE-2026-22982: net: mscc: ocelot: Fix crash when adding interface under a lag

Published Jan 23, 2026
·
Updated

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 ocelotsetaggrpgids() function in the ocelot driver has similar logic and is susceptible to the same crash.

This issue specifically affects the ocelotvsc7514.c frontend, which leaves unused ports as NULL pointers. The felixvsc9959.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 Software

11 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.198
Linux Linux kernel>=5.16<6.1.161
Linux Linux kernel>=6.2<6.6.121
Linux Linux kernel>=6.7<6.12.66
Linux Linux kernel>=6.13<6.18.6
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the crash by adding a NULL/invalid pointer check before dereferencing the port pointer when adding an interface under a LAG (use the same style of logic as ocelot_set_aggr_pgids()).

    Linux kernel (net: mscc: ocelot) felix_vsc9959.c frontend port-pointer validation = Check that the port pointer is valid before accessing it

Event History

Jan 23, 2026
CVE Published
via MITRE·03:24 PM
Data Sourced
via MITRE·03:24 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 28, 2026
Data Sourced
via Microsoft·09:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:03 AM
Affected Software
Updated
via Microsoft·09:03 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-22982?

CVE-2026-22982 is classified as a medium severity vulnerability.

2

How do I fix CVE-2026-22982?

To fix CVE-2026-22982, update the Linux kernel to the latest stable version that includes the fix.

3

What systems are affected by CVE-2026-22982?

CVE-2026-22982 affects the Linux kernel, specifically in configurations utilizing the mscc ocelot switch driver.

4

What are the potential consequences of CVE-2026-22982?

The potential consequences of CVE-2026-22982 include system crashes when adding interfaces under link aggregation.

5

Is there a workaround for CVE-2026-22982?

There are no known workarounds for CVE-2026-22982; updating the kernel is recommended for resolution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203