Description
In the Linux kernel, the following vulnerability has been resolved: regulator: core: Protect regulator_supply_alias_list with regulator_list_mutex regulator_supply_alias_list was accessed without any locking in regulator_supply_alias(), regulator_register_supply_alias(), and regulator_unregister_supply_alias(). Concurrent registration, unregistration and lookups can race, leading to: 1 use-after-free if an alias entry is removed while being read, 2 duplicate entries when two threads register the same alias, 3 inconsistent alias mappings observed by consumers. Protect all traversals, insertions and deletions on regulator_supply_alias_list with the existing regulator_list_mutex.
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
a06ccd9c3785fa5550917ae036944f4e080b5749 to < e1587064137028e7edcca14fb766b68d27bec94baffecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < 9d041a7ba13f21adfac052eb3fda1df62f2166c1affecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < a63fbc07d1b34a9821ea3b31ff4e6456f9d0aa61affecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < 09811a83b214cc15521e0d818e43ae9043e9a28daffecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < a9864d42ebcdd394ebb864643b961b36e7b515beaffecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < 431a1d44ad4866362cc28fc1cc4ca93d84989239affecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < 64099b5c0aeb70bc7cd5556eb7f59c5b4a5010bfaffecteda06ccd9c3785fa5550917ae036944f4e080b5749 to < 0cc15a10c3b4ab14cd71b779fd5c9ca0cb2bc30daffected
Linux Linux
Default version status: affected
3.13affected0 to < 3.13unaffected5.10.248 to ≤ 5.10.*unaffected5.15.198 to ≤ 5.15.*unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.63 to ≤ 6.12.*unaffected6.17.13 to ≤ 6.17.*unaffected6.18.2 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e1587064137028e7edcca14fb766b68d27bec94b ↗
- https://git.kernel.org/stable/c/9d041a7ba13f21adfac052eb3fda1df62f2166c1 ↗
- https://git.kernel.org/stable/c/a63fbc07d1b34a9821ea3b31ff4e6456f9d0aa61 ↗
- https://git.kernel.org/stable/c/09811a83b214cc15521e0d818e43ae9043e9a28d ↗
- https://git.kernel.org/stable/c/a9864d42ebcdd394ebb864643b961b36e7b515be ↗
- https://git.kernel.org/stable/c/431a1d44ad4866362cc28fc1cc4ca93d84989239 ↗
- https://git.kernel.org/stable/c/64099b5c0aeb70bc7cd5556eb7f59c5b4a5010bf ↗
- https://git.kernel.org/stable/c/0cc15a10c3b4ab14cd71b779fd5c9ca0cb2bc30d ↗