CVE-2026-45921Linux Kernel
Medium 5.5
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- —
- Auth required
- Yes
- Published
- May 27, 2026
- Updated
- Jun 24, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-401
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 6.2 < 6.6.128 |
| linux | linux_kernel | ≥ 6.7 < 6.12.75 |
| linux | linux_kernel | ≥ 6.13 < 6.18.14 |
| linux | linux_kernel | ≥ 6.19 < 6.19.4 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch