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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
01bb86b380a306bd937c96da36f66429f3362137 to < f0e211d6539fae800217c10797993b7592d6ab01affected01bb86b380a306bd937c96da36f66429f3362137 to < 3f1024deeab3b5443c29b3de4fe475e87309b8faaffected01bb86b380a306bd937c96da36f66429f3362137 to < 371f53925a6714d0aa35f1aefdffc3e8cd62f480affected01bb86b380a306bd937c96da36f66429f3362137 to < 34bf74b1fd2e4a44e27821a329204caf09df2976affected01bb86b380a306bd937c96da36f66429f3362137 to < 508fd8ab158abd04b7f7d0f707cd6d6c405df4eaaffected01bb86b380a306bd937c96da36f66429f3362137 to < f59e686c778cb41b8f7aa8fab2afd6a01afb3d47affected01bb86b380a306bd937c96da36f66429f3362137 to < 215c90ee656114f5e8c32408228d97082f8e0eefaffected
Linux Linux
Default version status: affected
5.11affected0 to < 5.11unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.142 to ≤ 6.6.*unaffected6.12.92 to ≤ 6.12.*unaffected6.18.34 to ≤ 6.18.*unaffected7.0.11 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f0e211d6539fae800217c10797993b7592d6ab01 ↗
- https://git.kernel.org/stable/c/3f1024deeab3b5443c29b3de4fe475e87309b8fa ↗
- https://git.kernel.org/stable/c/371f53925a6714d0aa35f1aefdffc3e8cd62f480 ↗
- https://git.kernel.org/stable/c/34bf74b1fd2e4a44e27821a329204caf09df2976 ↗
- https://git.kernel.org/stable/c/508fd8ab158abd04b7f7d0f707cd6d6c405df4ea ↗
- https://git.kernel.org/stable/c/f59e686c778cb41b8f7aa8fab2afd6a01afb3d47 ↗
- https://git.kernel.org/stable/c/215c90ee656114f5e8c32408228d97082f8e0eef ↗