Description
In the Linux kernel, the following vulnerability has been resolved: mtd: virt-concat: unlink discarded items before freeing mtd_virt_concat_destroy_items() frees each item without removing it from concat_node_list. list_for_each_entry_safe() protects the current traversal, but concat_node_list still points to the freed items afterward. The function also unwinds errors from mtd_virt_concat_node_create(). A later initialization can traverse a freed item in mtd_is_part_concat(), causing a use-after-free. Unlink each item before freeing it.
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
43db6366fc2de02050e66389f5628d3fdc9af10a to < d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937aaffected43db6366fc2de02050e66389f5628d3fdc9af10a to < 112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38affected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected