device property: initialize the remaining fields of fwnode_handle in fwnode_init()
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 ]
CVE-2026-68461
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-68461
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "0198d579948322cda5178b9672d448375a32f947",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "173b61c9276c7b3a5fbcc63ae7aafc897fee1e18",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "f0b4e1cc8ad76baf49d898727eb52e91a4ef0544",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "c8542b68ba6ef4f61072098893a3f5b71c569b6c",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "9c86a1f930bb2ddb85f867b4736716e82a4a4683",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "c81e2af41de6a159837c7129a4fc444ac6e48046",
"versionType": "git"
},
{
"status": "affected",
"version": "01bb86b380a306bd937c96da36f66429f3362137",
"lessThan": "7eba000621fff223dd7bab484d48918c7c77a307",
"versionType": "git"
}
],
"programFiles": [
"include/linux/fwnode.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.96",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.39",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/linux/fwnode.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-68461
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #41732 · Revision 1
- Added to Heist Feed
- Publisher date