Menu

Star on GitHub · 3.2k

CVE-2026-68416

In the Linux kernel, the following vulnerability has been resolved: mtd: fix double free and WARN_ON in add_mtd_device() error paths When device_register() or mtd_nvmem_add() fails inside add_mtd…

Published Aug 10, 2026EPSS 0.16%

Overview

CVE-2026-68416 is a known-severity vulnerability. It was published on August 10, 2026.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mtd: fix double free and WARN_ON in add_mtd_device() error paths

When device_register() or mtd_nvmem_add() fails inside

add_mtd_device() for a partition, the error handling triggers

mtd_release() via put_device() or device_unregister(). mtd_release()

calls release_mtd_partition() which frees the mtd_info structure.

However, callers such as mtd_add_partition() and add_mtd_partitions()

also call free_partition() in their error paths, resulting in a double

free.

Additionally, release_mtd_partition() hits WARN_ON(!list_empty(

&mtd->part.node)) because the partition node is still linked in the

parent's partitions list when the release callback fires from the

add_mtd_device() error path.

Fix this by overriding dev->type and dev->release before put_device()

in the error paths, so that device_release() invokes a no-op function

instead of mtd_release(). For the mtd_nvmem_add() failure case,

device_unregister() is replaced w

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-68416?

CVE-2026-68416 is a known-severity vulnerability. It was published on August 10, 2026.

How severe is CVE-2026-68416?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-68416?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-68416?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-68416 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.