mtd: virt-concat: unlink discarded items before freeing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38, Kernel d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937a and Kernel 7.3.2.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=43db6366fc2de02050e66389f5628d3fdc9af10a <112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38, >=43db6366fc2de02050e66389f5628d3fdc9af10a <d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937a | 112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38, d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937a |
| linux-kernel: Kernel | >=7.1.0 <7.3.2 | 7.3.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket