CVE-2026-74320 (GCVE-0-2026-74320)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:17
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: fbdev: sm501fb: Fix buffer errors in OF binding code The code that gets the frame buffer mode from OF has 'use after free', 'buffer overrun' and memory leaks. info->edid_data isn't free if the probe functions fail or if pd->def_mode is set. If both the CRT and PANEL are enabled info->edid_data is used after being freed and is freed twice. The string returned by of_get_property(np, "mode", &len) is just written over either the static "640x480-16@60" or the module parameter string without any regard for the length (which is most likely longer). Use kstrump() for the OF mode and free everything before freeing 'info.
Impacted products
Vendor Product Version
Linux Linux Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Version: 4295f9bf74a885da390abc49a3b42a011c1bb890
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/fbdev/sm501fb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0bc3d909a49e1fd8b8c3f2160d526e672c40621d",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "47008d59c60ed896085da95f8d4dd40e1677dd3a",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "d374f76e1257ecc5d691a765c512ed2c29a44741",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "b2ff450f7f5cfc7143cab57c3ad70293ba8b822a",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "de590cdf7efec8a0b6da90ae2ab5fc5df26810b9",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "48cf0f4c6581ec90104cec9c5bf794a8bf347e30",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            },
            {
              "lessThan": "d8421e09382cfe0bd2a044c8b0a822f64855dd4e",
              "status": "affected",
              "version": "4295f9bf74a885da390abc49a3b42a011c1bb890",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/fbdev/sm501fb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.39"
            },
            {
              "lessThan": "2.6.39",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "2.6.39",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sm501fb: Fix buffer errors in OF binding code\n\nThe code that gets the frame buffer mode from OF has \u0027use after free\u0027,\n\u0027buffer overrun\u0027 and memory leaks.\n\ninfo-\u003eedid_data isn\u0027t free if the probe functions fail or if\npd-\u003edef_mode is set.\n\nIf both the CRT and PANEL are enabled info-\u003eedid_data is used after\nbeing freed and is freed twice.\n\nThe string returned by of_get_property(np, \"mode\", \u0026len) is just\nwritten over either the static \"640x480-16@60\" or the module parameter\nstring without any regard for the length (which is most likely longer).\n\nUse kstrump() for the OF mode and free everything before freeing \u0027info."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:17:10.332Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0bc3d909a49e1fd8b8c3f2160d526e672c40621d"
        },
        {
          "url": "https://git.kernel.org/stable/c/47008d59c60ed896085da95f8d4dd40e1677dd3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/d374f76e1257ecc5d691a765c512ed2c29a44741"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2ff450f7f5cfc7143cab57c3ad70293ba8b822a"
        },
        {
          "url": "https://git.kernel.org/stable/c/9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31"
        },
        {
          "url": "https://git.kernel.org/stable/c/de590cdf7efec8a0b6da90ae2ab5fc5df26810b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/48cf0f4c6581ec90104cec9c5bf794a8bf347e30"
        },
        {
          "url": "https://git.kernel.org/stable/c/d8421e09382cfe0bd2a044c8b0a822f64855dd4e"
        }
      ],
      "title": "fbdev: sm501fb: Fix buffer errors in OF binding code",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74320",
    "datePublished": "2026-08-15T05:58:16.805Z",
    "dateReserved": "2026-08-15T05:44:03.884Z",
    "dateUpdated": "2026-08-17T05:17:10.332Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…