Skip to content
Heist/ feed
Back to feed
UnratedFix available

net: dsa: mv88e6060: prevent crash on an unused port

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6060: prevent crash on an unused port If the port isn't a CPU port nor a user port, 'cpu_dp' is a null pointer and a crash happened on dereferencing it in mv88e6060_setup_port(): [ 9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014 ... [ 9.942216] mv88e6060_setup from dsa_register_switch+0x814/0xe84 [ 9.948616] dsa_register_switch from mdio_probe+0x2c/0x54 [ 9.954433] mdio_probe from really_probe.part.0+0x98/0x2a0 [ 9.960375] really_probe.part.0 from driver_probe_device+0x30/0x10c [ 9.967029] driver_probe_device from __device_attach_driver+0xb8/0x13c [ 9.973946] __device_attach_driver from bus_for_each_drv+0x90/0xe0 [ 9.980509] bus_for_each_drv from __device_attach+0x110/0x184 [ 9.986632] __device_attach from bus_probe_device+0x8c/0x94 [ 9.992577] bus_probe_device from deferred_probe_work_func+0x78/0xa8 [ 9.999311] deferred_probe_work_func from process_one_work+0x290/0x73c [ 10.006292] process_one_work from worker_thread+0x30/0x4b8 [ 10.012155] worker_thread from kthread+0xd4/0x10c [ 10.017238] kthread from ret_from_fork+0x14/0x3c

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.138, 5.15.63, 5.19.4, 5.4.211
CVEs
CVE-2022-50047
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:15 UTC · Revision 1

Source evidence

net: dsa: mv88e6060: prevent crash on an unused port

core-osv · Original source

Published 18 Jun 2025, 11:01 UTC

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6060: prevent crash on an unused port If the port isn't a CPU port nor a user port, 'cpu_dp' is a null pointer and a crash happened on dereferencing it in mv88e6060_setup_port(): [ 9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014 ... [ 9.942216] mv88e6060_setup from dsa_register_switch+0x814/0xe84 [ 9.948616] dsa_register_switch from mdio_probe+0x2c/0x54 [ 9.954433] mdio_probe from really_probe.part.0+0x98/0x2a0 [ 9.960375] really_probe.part.0 from driver_probe_device+0x30/0x10c [ 9.967029] driver_probe_device from __device_attach_driver+0xb8/0x13c [ 9.973946] __device_attach_driver from bus_for_each_drv+0x90/0xe0 [ 9.980509] bus_for_each_drv from __device_attach+0x110/0x184 [ 9.986632] __device_attach from bus_probe_device+0x8c/0x94 [ 9.992577] bus_probe_device from deferred_probe_work_func+0x78/0xa8 [ 9.999311] deferred_probe_work_func from process_one_work+0x290/0x73c [ 10.006292] process_one_work from worker_thread+0x30/0x4b8 [ 10.012155] worker_thread from kthread+0xd4/0x10c [ 10.017238] kthread from ret_from_fork+0x14/0x3c

osv:CVE-2022-50047

Kernel

Fixed versions: 5.4.211, 5.10.138, 5.15.63, 5.19.4

Complete source record
{
  "id": "a3bc86a92ef5b063b8432dbc99af8bdf44abdc8bf9ade527da0b6aff0e2a2fd4",
  "url": "https://osv.dev/vulnerability/CVE-2022-50047",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: dsa: mv88e6060: prevent crash on an unused port",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6060: prevent crash on an unused port If the port isn't a CPU port nor a user port, 'cpu_dp' is a null pointer and a crash happened on dereferencing it in mv88e6060_setup_port(): [ 9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014 ... [ 9.942216] mv88e6060_setup from dsa_register_switch+0x814/0xe84 [ 9.948616] dsa_register_switch from mdio_probe+0x2c/0x54 [ 9.954433] mdio_probe from really_probe.part.0+0x98/0x2a0 [ 9.960375] really_probe.part.0 from driver_probe_device+0x30/0x10c [ 9.967029] driver_probe_device from __device_attach_driver+0xb8/0x13c [ 9.973946] __device_attach_driver from bus_for_each_drv+0x90/0xe0 [ 9.980509] bus_for_each_drv from __device_attach+0x110/0x184 [ 9.986632] __device_attach from bus_probe_device+0x8c/0x94 [ 9.992577] bus_probe_device from deferred_probe_work_func+0x78/0xa8 [ 9.999311] deferred_probe_work_func from process_one_work+0x290/0x73c [ 10.006292] process_one_work from worker_thread+0x30/0x4b8 [ 10.012155] worker_thread from kthread+0xd4/0x10c [ 10.017238] kthread from ret_from_fork+0x14/0x3c",
    "evidence": "osv:CVE-2022-50047",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.211",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.138",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.63",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50047",
      "aliases": [
        "CVE-2022-50047"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0abfd494deefdbab66ac03c1181a614285e7d90c"
                },
                {
                  "fixed": "cb1753bc689c7a7f94da6eee7efc1ae6d8abb36c"
                },
                {
                  "fixed": "92dc64e8f591425ce4dabf7d479ebf6e67fb8853"
                },
                {
                  "fixed": "dd236b62d25e44ecfa26b0910a12f8d8251aff00"
                },
                {
                  "fixed": "f3a4b55829617cad2d36fa6524367ef629566ba6"
                },
                {
                  "fixed": "246bbf2f977ea36aaf41f5d24370fef433250728"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50047.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.4.211"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.138"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.63"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.19.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50047.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.069917071Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/246bbf2f977ea36aaf41f5d24370fef433250728",
        "https://git.kernel.org/stable/c/92dc64e8f591425ce4dabf7d479ebf6e67fb8853",
        "https://git.kernel.org/stable/c/cb1753bc689c7a7f94da6eee7efc1ae6d8abb36c",
        "https://git.kernel.org/stable/c/dd236b62d25e44ecfa26b0910a12f8d8251aff00",
        "https://git.kernel.org/stable/c/f3a4b55829617cad2d36fa6524367ef629566ba6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50047.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50047",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50047.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50047",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487007,
  "published_at": "2025-06-18T11:01:48.08+00:00"
}