CVE-2026-64220

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

State
Published
Severity
Not scored
Published
Jul 24, 2026
Updated
Jul 24, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 01bb86b380a306bd937c96da36f66429f3362137 to before f0e211d6539fae800217c10797993b7592d6ab01Affected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before 3f1024deeab3b5443c29b3de4fe475e87309b8faAffected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before 371f53925a6714d0aa35f1aefdffc3e8cd62f480Affected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before 34bf74b1fd2e4a44e27821a329204caf09df2976Affected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before 508fd8ab158abd04b7f7d0f707cd6d6c405df4eaAffected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before f59e686c778cb41b8f7aa8fab2afd6a01afb3d47Affected
  • 01bb86b380a306bd937c96da36f66429f3362137 to before 215c90ee656114f5e8c32408228d97082f8e0eefAffected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.