CVE-2026-99458: In the Linux kernel, the following vulnerability has been resolved: mtd: virt-concat: unlink discarded items before freeing mtd_virt_concat_destroy_items() fre…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-99458 ↗
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. References: https://git.kernel.org/stable/c/112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38 https://git.kernel.org/stable/c/d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937a