Skip to main content
Network Thinking Solutions Logo

CVE-2026-45921

Linux kernel: mtd: parsers: Fix memory leak in mtd_parser_tplink_safeloader_parse()

All CVEs
CVE-2026-45921Published 5/27/2026

Linux kernel: mtd: parsers: Fix memory leak in mtd_parser_tplink_safeloader_parse()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
5/27/2026
Last modified
6/24/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.2, < 6.6.128

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.75

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.14

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.4

Verify advisory

Source
Linux
Linux
≥ 00a3588084bee6f37bb2b1d343f96900cfe049bc, < 0f5e62ea5c43146eacdc6861cb1022ffae1b79bc

Verify advisory

Source
Linux
Linux
≥ 00a3588084bee6f37bb2b1d343f96900cfe049bc, < e97f5fac8ce9a6b9ec724c97d86b0985e915fdca

Verify advisory

Source
Linux
Linux
≥ 00a3588084bee6f37bb2b1d343f96900cfe049bc, < ec121ad626c319085f6d40a52cd04e99b4554926

Verify advisory

Source
Linux
Linux
≥ 00a3588084bee6f37bb2b1d343f96900cfe049bc, < 971e9c53aed82f17a9c6a65daa4e21cc15eba5b1

Verify advisory

Source
Linux
Linux
≥ 00a3588084bee6f37bb2b1d343f96900cfe049bc, < 980ce2b02dd06a4fdf5fee38b2e14becf9cf7b8b

Verify advisory

Source
Linux
Linux
6.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.