GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-74320 (GCVE-0-2026-74320)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:58 – Updated: 2026-08-17 05:17
VLAI
Title
fbdev: sm501fb: Fix buffer errors in OF binding code
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < 0bc3d909a49e1fd8b8c3f2160d526e672c40621d (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < 47008d59c60ed896085da95f8d4dd40e1677dd3a (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < d374f76e1257ecc5d691a765c512ed2c29a44741 (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < b2ff450f7f5cfc7143cab57c3ad70293ba8b822a (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < 9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31 (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < de590cdf7efec8a0b6da90ae2ab5fc5df26810b9 (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < 48cf0f4c6581ec90104cec9c5bf794a8bf347e30 (git)
Affected: 4295f9bf74a885da390abc49a3b42a011c1bb890 , < d8421e09382cfe0bd2a044c8b0a822f64855dd4e (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.39
Unaffected: 0 , < 2.6.39 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74320",
      "date": "2026-09-04",
      "epss": "0.00177",
      "percentile": "0.07271"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74320\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:32.457\",\"lastModified\":\"2026-08-17T06:19:26.403\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/video/fbdev/sm501fb.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"0bc3d909a49e1fd8b8c3f2160d526e672c40621d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"47008d59c60ed896085da95f8d4dd40e1677dd3a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"d374f76e1257ecc5d691a765c512ed2c29a44741\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"b2ff450f7f5cfc7143cab57c3ad70293ba8b822a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"de590cdf7efec8a0b6da90ae2ab5fc5df26810b9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"48cf0f4c6581ec90104cec9c5bf794a8bf347e30\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4295f9bf74a885da390abc49a3b42a011c1bb890\",\"lessThan\":\"d8421e09382cfe0bd2a044c8b0a822f64855dd4e\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/video/fbdev/sm501fb.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.39\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.39\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0bc3d909a49e1fd8b8c3f2160d526e672c40621d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47008d59c60ed896085da95f8d4dd40e1677dd3a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48cf0f4c6581ec90104cec9c5bf794a8bf347e30\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b2ff450f7f5cfc7143cab57c3ad70293ba8b822a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d374f76e1257ecc5d691a765c512ed2c29a44741\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d8421e09382cfe0bd2a044c8b0a822f64855dd4e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/de590cdf7efec8a0b6da90ae2ab5fc5df26810b9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-19T11:38:47+00:00",
      "cve": "CVE-2026-74320",
      "id": "CVE-2026-74320",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: fbdev: sm501fb: Fix buffer errors in OF binding code",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74320.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…