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.
Published: 2026-07-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The defect emerges when a firmware node object is created on the stack or with a non‑zeroed allocator and subsequently initialized via fwnode_init(). Because the secondary pointer is left uninitialized, later functions such as dev_to_swnode() may dereference it, leading to a memory read of garbage data that can corrupt kernel memory or trigger a kernel panic. This can result in a loss of service for the system or its components. The vulnerability is a use‑of‑uninitialized‑data flaw in core kernel code.

Affected Systems

The flaw affects the Linux kernel, specifically the firmware node initialization routine. There is no publicly listed version range; any kernel that contains the buggy fwnode_init() implementation before the fix is susceptible.

Risk and Exploitability

The risk is moderate because, as indicated by the CVSS score of 5.5, the vulnerability holds medium severity. The kernel runs in privileged context, so an exploit would require code that calls fwnode_init() on a node allocated without zeroing memory, which can happen in many kernel drivers that create temporary software nodes. Although the EPSS score is below 1% and it is not listed in the CISA KEV catalog, the flaw can lead to a kernel crash or memory corruption when a user with sufficient access creates such nodes. No public exploit is known.

Generated by OpenCVE AI on August 13, 2026 at 11:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the fwnode_init() NULL-initializer fix.
  • Patch the kernel source to add a NULL assignment for fwnode->secondary in fwnode_init() if the fixed version is unavailable.
  • In driver code that creates firmware nodes, use a zeroing allocator (e.g., kzalloc) or explicitly set the secondary pointer to NULL before the node is used.

Generated by OpenCVE AI on August 13, 2026 at 11:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
History

Tue, 11 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*

Sat, 01 Aug 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Tue, 28 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title device property: set fwnode->secondary to NULL in fwnode_init()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-24T15:23:06.931Z

Reserved: 2026-07-19T15:36:31.770Z

Link: CVE-2026-64220

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:49.797

Modified: 2026-08-11T18:25:42.967

Link: CVE-2026-64220

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64220 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T11:15:05Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

  • CWE-908

    Use of Uninitialized Resource