mtd: virt-concat: free duplicate generated name
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mtd: virt-concat: free duplicate generated name
Every MTD registration runs mtd_virt_concat_create_join(). Once a virtual concat has already been registered, the function builds the same name again and takes the equal-name branch. That branch skips to the next item without freeing the newly allocated string.
Free the temporary name before continuing.
From the CVE record · Linux
The Linux kernel's mtd virt-concat code leaks a newly allocated name when MTD registration encounters a virtual concat that is already registered. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with mtd virt-concat should check their versions; affected versions are not specified.