CVE-2022-50130 (GCVE-0-2022-50130)
Vulnerability from cvelistv5
Published
2025-06-18 11:02
Modified
2025-06-18 11:02
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: core: set smem_len before fb_deferred_io_init call The fbtft_framebuffer_alloc() calls fb_deferred_io_init() before initializing info->fix.smem_len. It is set to zero by the framebuffer_alloc() function. It will trigger a WARN_ON() at the start of fb_deferred_io_init() and the function will not do anything.
Impacted products
Vendor Product Version
Linux Linux Version: e79b2b2aadeffe1db54a6b569b9b621575c3eb07
Version: 6a9ae2fe887042f76fd3d334349e64e8ab3c55a2
Version: 856082f021a28221db2c32bd0531614a8382be67
Version: 856082f021a28221db2c32bd0531614a8382be67
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/fbtft/fbtft-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4178bfa3fc9de556dfe248a6eabe29280f0ffda5",
              "status": "affected",
              "version": "e79b2b2aadeffe1db54a6b569b9b621575c3eb07",
              "versionType": "git"
            },
            {
              "lessThan": "5185c319e8ea67657e0d3edd520a7276516c506a",
              "status": "affected",
              "version": "6a9ae2fe887042f76fd3d334349e64e8ab3c55a2",
              "versionType": "git"
            },
            {
              "lessThan": "6ae6abe240306f878557d6eadd950a2e2561f59f",
              "status": "affected",
              "version": "856082f021a28221db2c32bd0531614a8382be67",
              "versionType": "git"
            },
            {
              "lessThan": "81e878887ff82a7dd42f22951391069a5d520627",
              "status": "affected",
              "version": "856082f021a28221db2c32bd0531614a8382be67",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/fbtft/fbtft-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.18",
                  "versionStartIncluding": "5.18.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.2",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: core: set smem_len before fb_deferred_io_init call\n\nThe fbtft_framebuffer_alloc() calls fb_deferred_io_init() before\ninitializing info-\u003efix.smem_len.  It is set to zero by the\nframebuffer_alloc() function.  It will trigger a WARN_ON() at the\nstart of fb_deferred_io_init() and the function will not do anything."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-18T11:02:56.209Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5"
        },
        {
          "url": "https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f"
        },
        {
          "url": "https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627"
        }
      ],
      "title": "staging: fbtft: core: set smem_len before fb_deferred_io_init call",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50130",
    "datePublished": "2025-06-18T11:02:56.209Z",
    "dateReserved": "2025-06-18T10:57:27.418Z",
    "dateUpdated": "2025-06-18T11:02:56.209Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50130\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:42.810\",\"lastModified\":\"2025-06-18T13:47:40.833\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nstaging: fbtft: core: set smem_len before fb_deferred_io_init call\\n\\nThe fbtft_framebuffer_alloc() calls fb_deferred_io_init() before\\ninitializing info-\u003efix.smem_len.  It is set to zero by the\\nframebuffer_alloc() function.  It will trigger a WARN_ON() at the\\nstart of fb_deferred_io_init() and the function will not do anything.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: fbtft: core: establecer smem_len antes de la llamada a fb_deferred_io_init. La funci\u00f3n fbtft_framebuffer_alloc() llama a fb_deferred_io_init() antes de inicializar info-\u0026gt;fix.smem_len. La funci\u00f3n framebuffer_alloc() la establece a cero. Esto activar\u00e1 un WARN_ON() al inicio de fb_deferred_io_init() y la funci\u00f3n no realizar\u00e1 ninguna acci\u00f3n.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/4178bfa3fc9de556dfe248a6eabe29280f0ffda5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5185c319e8ea67657e0d3edd520a7276516c506a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6ae6abe240306f878557d6eadd950a2e2561f59f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/81e878887ff82a7dd42f22951391069a5d520627\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…