CVE-2026-64220 (GCVE-0-2026-64220)
Vulnerability from cvelistv5
Published
2026-07-24 15:23
Modified
2026-07-24 15:23
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: device property: set fwnode->secondary to NULL in fwnode_init() If a firmware node is allocated on the stack (for instance: temporary software node whose life-time we control) or on the heap - but using a non-zeroing allocation function - and initialized using fwnode_init(), its secondary pointer will contain uninitalized memory which likely will be neither NULL nor IS_ERR() and so may end up being dereferenced (for example: in dev_to_swnode()). Set fwnode->secondary to NULL on initialization.
Impacted products
Vendor Product Version
Linux Linux Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Version: 01bb86b380a306bd937c96da36f66429f3362137
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/fwnode.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f0e211d6539fae800217c10797993b7592d6ab01",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "3f1024deeab3b5443c29b3de4fe475e87309b8fa",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "371f53925a6714d0aa35f1aefdffc3e8cd62f480",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "34bf74b1fd2e4a44e27821a329204caf09df2976",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "508fd8ab158abd04b7f7d0f707cd6d6c405df4ea",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "f59e686c778cb41b8f7aa8fab2afd6a01afb3d47",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            },
            {
              "lessThan": "215c90ee656114f5e8c32408228d97082f8e0eef",
              "status": "affected",
              "version": "01bb86b380a306bd937c96da36f66429f3362137",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/fwnode.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndevice property: set fwnode-\u003esecondary to NULL in fwnode_init()\n\nIf a firmware node is allocated on the stack (for instance: temporary\nsoftware node whose life-time we control) or on the heap - but using a\nnon-zeroing allocation function - and initialized using fwnode_init(),\nits secondary pointer will contain uninitalized memory which likely will\nbe neither NULL nor IS_ERR() and so may end up being dereferenced (for\nexample: in dev_to_swnode()). Set fwnode-\u003esecondary to NULL on\ninitialization."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-24T15:23:06.931Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f0e211d6539fae800217c10797993b7592d6ab01"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f1024deeab3b5443c29b3de4fe475e87309b8fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/371f53925a6714d0aa35f1aefdffc3e8cd62f480"
        },
        {
          "url": "https://git.kernel.org/stable/c/34bf74b1fd2e4a44e27821a329204caf09df2976"
        },
        {
          "url": "https://git.kernel.org/stable/c/508fd8ab158abd04b7f7d0f707cd6d6c405df4ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/f59e686c778cb41b8f7aa8fab2afd6a01afb3d47"
        },
        {
          "url": "https://git.kernel.org/stable/c/215c90ee656114f5e8c32408228d97082f8e0eef"
        }
      ],
      "title": "device property: set fwnode-\u003esecondary to NULL in fwnode_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64220",
    "datePublished": "2026-07-24T15:23:06.931Z",
    "dateReserved": "2026-07-19T15:36:31.770Z",
    "dateUpdated": "2026-07-24T15:23:06.931Z",
    "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…