{"id":"CVE-2026-22982","aliases":["CVE-2026-22982"],"related":[],"kind":"vulnerability","state":"published","title":"net: mscc: ocelot: Fix crash when adding interface under a lag","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: mscc: ocelot: Corregir caída al añadir interfaz bajo un lag\n\nCommit 15faa1f67ab4 ('lan966x: Corregir caída al añadir interfaz bajo un lag') solucionó un problema similar en el controlador lan966x causado por una desreferenciación de puntero NULL. La función ocelot_set_aggr_pgids() en el controlador ocelot tiene una lógica similar y es susceptible a la misma caída.\n\nEste problema afecta específicamente al frontend ocelot_vsc7514.c, que deja los puertos no utilizados como punteros NULL. El frontend felix_vsc9959.c no se ve afectado ya que utiliza el framework DSA que registra todos los puertos.\n\nSolucione esto comprobando si el puntero del puerto es válido antes de acceder a él.","source":"nvd"}],"published":"2026-01-23T15:24:04.556Z","modified":"2026-11-10T13:18:31.800Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d","status":"affected"},{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"b17818307446c5a8d925a39a792261dbfa930041","status":"affected"},{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"2985712dc76dfa670eb7fd607c09d4d48e5f5c6e","status":"affected"},{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"03fb1708b7d1e76aecebf767ad059c319845039f","status":"affected"},{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"f490af47bbee02441e356a1e0b86e3b3dd5120ff","status":"affected"},{"type":"git","introduced":"528d3f190c98c8f7d9581f68db4af021696727b2","fixed":"34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.161","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.121","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.66","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.6","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"5.15.198"},{"status":"affected","introduced":"5.16","fixed":"6.1.161"},{"status":"affected","introduced":"6.2","fixed":"6.6.121"},{"status":"affected","introduced":"6.7","fixed":"6.12.66"},{"status":"affected","introduced":"6.13","fixed":"6.18.6"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8767f238b0e6c3d0b295ac6dce9fbe6a99bd1b9d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b17818307446c5a8d925a39a792261dbfa930041","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2985712dc76dfa670eb7fd607c09d4d48e5f5c6e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03fb1708b7d1e76aecebf767ad059c319845039f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f490af47bbee02441e356a1e0b86e3b3dd5120ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34f3ff52cb9fa7dbf04f5c734fcc4cb6ed5d1a95","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22982","url":"https://www.cve.org/CVERecord?id=CVE-2026-22982","licence":"CVE Terms of Use","modified":"2026-11-10T12:41:06.874Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22982","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22982","licence":"Public domain","modified":"2026-11-10T13:18:31.800Z"}],"updatedAt":"2026-11-25T22:59:13.140Z","epss":{"score":0.00181,"percentile":0.07971,"date":"2026-12-02T12:00:21.000Z"}}