Skip to content
Heist/ feed
Back to feed
HighFix available

drm/msm/dsi: fix memory corruption with too many bridges

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dsi: fix memory corruption with too many bridges Add the missing sanity check on the bridge counter to avoid corrupting data beyond the fixed-sized bridge array in case there are ever more than eight bridges. Patchwork: https://patchwork.freedesktop.org/patch/502668/

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.264, 5.10.153, 5.15.77, 5.4.223, 6.0.7
CVEs
CVE-2022-50368
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:41 UTC · Revision 1

Source evidence

drm/msm/dsi: fix memory corruption with too many bridges

core-osv · Original source

Published 17 Sept 2025, 14:56 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dsi: fix memory corruption with too many bridges Add the missing sanity check on the bridge counter to avoid corrupting data beyond the fixed-sized bridge array in case there are ever more than eight bridges. Patchwork: https://patchwork.freedesktop.org/patch/502668/

osv:CVE-2022-50368

Kernel

Fixed versions: 4.19.264, 5.4.223, 5.10.153, 5.15.77, 6.0.7

Complete source record
{
  "id": "f91fec5548d572b66783920f2c8cd546b6e1c25cc8ac7c7b266d10f6fc70b4b9",
  "url": "https://osv.dev/vulnerability/CVE-2022-50368",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/msm/dsi: fix memory corruption with too many bridges",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/msm/dsi: fix memory corruption with too many bridges Add the missing sanity check on the bridge counter to avoid corrupting data beyond the fixed-sized bridge array in case there are ever more than eight bridges. Patchwork: https://patchwork.freedesktop.org/patch/502668/",
    "evidence": "osv:CVE-2022-50368",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.264",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.223",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.153",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.77",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-50368",
      "aliases": [
        "CVE-2022-50368"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e"
                },
                {
                  "fixed": "4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8"
                },
                {
                  "fixed": "f649ed0e1b7a1545f8e27267d3c468b3cb222ece"
                },
                {
                  "fixed": "21c4679af01f1027cb559330c2e7d410089b2b36"
                },
                {
                  "fixed": "9f035d1fb30648fe70ee01627eb131c56d699b35"
                },
                {
                  "fixed": "e83b354890a3c1d5256162f87a6cc38c47ae7f20"
                },
                {
                  "fixed": "2e786eb2f9cebb07e317226b60054df510b60c65"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50368.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.1.0"
                },
                {
                  "fixed": "4.19.264"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.223"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.153"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.77"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50368.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.036062728Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/21c4679af01f1027cb559330c2e7d410089b2b36",
        "https://git.kernel.org/stable/c/2e786eb2f9cebb07e317226b60054df510b60c65",
        "https://git.kernel.org/stable/c/4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8",
        "https://git.kernel.org/stable/c/9f035d1fb30648fe70ee01627eb131c56d699b35",
        "https://git.kernel.org/stable/c/e83b354890a3c1d5256162f87a6cc38c47ae7f20",
        "https://git.kernel.org/stable/c/f649ed0e1b7a1545f8e27267d3c468b3cb222ece",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50368.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50368",
        "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-50368.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50368",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490334,
  "published_at": "2025-09-17T14:56:24.102+00:00"
}