PT-2026-43788 · Linux · Linux
Published
2026-05-27
·
Updated
2026-05-27
·
CVE-2026-45921
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
mtd: parsers: Fix memory leak in mtd parser tplink safeloader parse()
The function mtd parser tplink safeloader parse() allocates buf via
mtd parser tplink safeloader read table(). If the allocation for
parts[idx].name fails inside the loop, the code jumps to the err free
label without freeing buf, leading to a memory leak.
Fix this by freeing the temporary buffer buf in the err free label.
Compile tested only. Issue found using a prototype static analysis tool
and code review.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux