device property: set fwnode->secondary to NULL in fwnode_init() (Linux Linux)

CVE-2026-64220
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 01bb86b380a306bd937c96da36f66429f3362137 < f0e211d6539fae800217c10797993b7592d6ab01 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 3f1024deeab3b5443c29b3de4fe475e87309b8fa ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 371f53925a6714d0aa35f1aefdffc3e8cd62f480 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 34bf74b1fd2e4a44e27821a329204caf09df2976 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 508fd8ab158abd04b7f7d0f707cd6d6c405df4ea ; affected 01bb86b380a306bd937c96da36f66429f3362137 < f59e686c778cb41b8f7aa8fab2afd6a01afb3d47
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.* ; unaffected 6.12.92 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD