Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-22982

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-22982

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "b17818307446c5a8d925a39a792261dbfa930041",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "2985712dc76dfa670eb7fd607c09d4d48e5f5c6e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "03fb1708b7d1e76aecebf767ad059c319845039f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "f490af47bbee02441e356a1e0b86e3b3dd5120ff",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "528d3f190c98c8f7d9581f68db4af021696727b2",
        "lessThan": "34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mscc/ocelot.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.198",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.161",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.121",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.66",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.6",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mscc/ocelot.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-22982

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#27192 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement