CVE-2026-22982 Details
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.
A vulnerability has been identified in the Linux kernel's MSCC Ocelot driver, specifically in the ocelot_vsc7514.c frontend. This issue arises from a NULL pointer dereference when adding an interface under a Link Aggregation Group (LAG). The problem occurs because unused ports are left as NULL pointers, leading to a crash. The ocelot_set_aggr_pgids() function contains logic that can trigger this crash, similar to a previously resolved issue in the lan966x driver. In contrast, the felix_vsc9959.c frontend is not affected, as it utilizes the DSA framework to register all ports.
The vulnerability has been addressed by modifying the ocelot_set_aggr_pgids() function to check the validity of port pointers before accessing them. Users should apply the latest patches available in the Linux kernel stable tree to mitigate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://git.kernel.org/stable/c/03fb1708b7d1e76aecebf767ad059c319845039f | kernel.org | Patch |
| https://git.kernel.org/stable/c/2985712dc76dfa670eb7fd607c09d4d48e5f5c6e | kernel.org | Patch |
| https://git.kernel.org/stable/c/34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d | kernel.org | Patch |
| https://git.kernel.org/stable/c/b17818307446c5a8d925a39a792261dbfa930041 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f490af47bbee02441e356a1e0b86e3b3dd5120ff | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.12, < 5.15.198 >= 5.16, < 6.1.161 >= 6.2, < 6.6.121 >= 6.7, < 6.12.66 >= 6.13, < 6.18.6 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | New CVE Received | kernel.org |