mtd: virt-concat: unlink discarded items before freeing

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux43db6366fc2de02050e66389f5628d3fdc9af10a to before d6bb100e3febf5d0c6c6bed4d4edc5ff7ac0937a Affected43db6366fc2de02050e66389f5628d3fdc9af10a to before 112a666bd82e96e4a01e0cd8a0fb9c88dd0bce38 Affected
Linux Linux7.1 Affectedbefore 7.1 Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.