device property: initialize the remaining fields of fwnode_handle in fwnode_init()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0198d579948322cda5178b9672d448375a32f947, Kernel 173b61c9276c7b3a5fbcc63ae7aafc897fee1e18, Kernel 7eba000621fff223dd7bab484d48918c7c77a307 and 4 more.
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 ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.11, >=01bb86b380a306bd937c96da36f66429f3362137 <0198d579948322cda5178b9672d448375a32f947, >=01bb86b380a306bd937c96da36f66429f3362137 <173b61c9276c7b3a5fbcc63ae7aafc897fee1e18, >=01bb86b380a306bd937c96da36f66429f3362137 <7eba000621fff223dd7bab484d48918c7c77a307, >=01bb86b380a306bd937c96da36f66429f3362137 <9c86a1f930bb2ddb85f867b4736716e82a4a4683, >=01bb86b380a306bd937c96da36f66429f3362137 <c81e2af41de6a159837c7129a4fc444ac6e48046, >=01bb86b380a306bd937c96da36f66429f3362137 <c8542b68ba6ef4f61072098893a3f5b71c569b6c, >=01bb86b380a306bd937c96da36f66429f3362137 <f0b4e1cc8ad76baf49d898727eb52e91a4ef0544 | 0198d579948322cda5178b9672d448375a32f947, 173b61c9276c7b3a5fbcc63ae7aafc897fee1e18, 7eba000621fff223dd7bab484d48918c7c77a307, 9c86a1f930bb2ddb85f867b4736716e82a4a4683, c81e2af41de6a159837c7129a4fc444ac6e48046, c8542b68ba6ef4f61072098893a3f5b71c569b6c, f0b4e1cc8ad76baf49d898727eb52e91a4ef0544 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket