{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22982","id":"CVE-2026-22982","title":"net: mscc: ocelot: Fix crash when adding interface under a lag","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mscc: ocelot: Fix crash when adding interface under a lag\n\nCommit 15faa1f67ab4 (\"lan966x: Fix crash when adding interface under a lag\")\nfixed a similar issue in the lan966x driver caused by a NULL pointer dereference.\nThe ocelot_set_aggr_pgids() function in the ocelot driver has similar logic\nand is susceptible to the same c","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mscc: ocelot: Fix crash when adding interface under a lag\n\nCommit 15faa1f67ab4 (\"lan966x: Fix crash when adding interface under a lag\")\nfixed a similar issue in the lan966x driver caused by a NULL pointer dereference.\nThe ocelot_set_aggr_pgids() function in the ocelot driver has similar logic\nand is susceptible to the same crash.\n\nThis issue specifically affects the ocelot_vsc7514.c frontend, which leaves\nunused ports as NULL pointers. The felix_vsc9959.c frontend is unaffected as\nit uses the DSA framework which registers all ports.\n\nFix this by checking if the port pointer is valid before accessing it.","published":"2026-01-23T15:24:04.556Z","updated":"2026-11-12T02:30:35.266914513Z","reserved":"2026-01-13T15:37:45.936Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d","status":"affected","versionType":"git"},{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"b17818307446c5a8d925a39a792261dbfa930041","status":"affected","versionType":"git"},{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"2985712dc76dfa670eb7fd607c09d4d48e5f5c6e","status":"affected","versionType":"git"},{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"03fb1708b7d1e76aecebf767ad059c319845039f","status":"affected","versionType":"git"},{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"f490af47bbee02441e356a1e0b86e3b3dd5120ff","status":"affected","versionType":"git"},{"version":"528d3f190c98c8f7d9581f68db4af021696727b2","lessThan":"34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"5.15.198","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.161","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.121","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.66","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.6","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b17818307446c5a8d925a39a792261dbfa930041","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2985712dc76dfa670eb7fd607c09d4d48e5f5c6e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/03fb1708b7d1e76aecebf767ad059c319845039f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f490af47bbee02441e356a1e0b86e3b3dd5120ff","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22982.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22982","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00142,"epssPercentile":0.0358,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22982","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22982","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22982","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22982","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}