CVE-2026-68461 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 ]
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.11
해결 버전
- 5.11 미만
- 5.15.212 이상
- 6.1.178 이상
- 6.6.145 이상
- 6.12.96 이상
- 6.18.39 이상
- 7.1.5 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/0198d579948322cda5178b9672d448375a32f947 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/173b61c9276c7b3a5fbcc63ae7aafc897fee1e18 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7eba000621fff223dd7bab484d48918c7c77a307 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9c86a1f930bb2ddb85f867b4736716e82a4a4683 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c81e2af41de6a159837c7129a4fc444ac6e48046 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c8542b68ba6ef4f61072098893a3f5b71c569b6c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f0b4e1cc8ad76baf49d898727eb52e91a4ef0544 (새 창)