CVE-2026-68461

device property: initialize the remaining fields of fwnode_handle in fwnode_init()

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: device property: initialize the remaining fields of fwnode_handle 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 uninitialized 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. While at it: initialize the remaining fields of struct fwnode_handle too just to be sure. [ Fix typo in commit message. - Danilo ]

Weaknesses (CWE)

  • CWE-665 — Improper Initialization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 01bb86b380a306bd937c96da36f66429f3362137 < 0198d579948322cda5178b9672d448375a32f947 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 173b61c9276c7b3a5fbcc63ae7aafc897fee1e18 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < f0b4e1cc8ad76baf49d898727eb52e91a4ef0544 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < c8542b68ba6ef4f61072098893a3f5b71c569b6c ; affected 01bb86b380a306bd937c96da36f66429f3362137 < 9c86a1f930bb2ddb85f867b4736716e82a4a4683 ; affected 01bb86b380a306bd937c96da36f66429f3362137 < c81e2af41de6a159837c7129a4fc444ac6e48046
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.96 ≤ 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