CVE-2026-68424

mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins()

Published Aug 10, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins()

mtd_concat_destroy() frees item->concat so calling
mtd_virt_concat_put_mtd_devices(item->concat) leads to a use after free.

Fix this by moving mtd_virt_concat_put_mtd_devices() before
mtd_concat_destroy()

Analysis

AI-generated

Technical impact

This vulnerability occurs in the Linux kernel’s MTD virt_concat subsystem. After the item’s concatenation structure is freed by mtd_concat_destroy(), the function mtd_virt_concat_put_mtd_devices() may still reference that memory. The resulting use‑after‑free can corrupt kernel memory, trigger a crash, or allow an attacker to execute arbitrary code with kernel privileges. The weakness is a classic use‑after‑free bug (CWE‑416).

Affected Systems

The issue exists in all Linux kernel builds that include the MTD virt_concat driver before the patch that moves the call order. No specific vendor version is delineated; users should audit their kernel version against the commits referenced in the advisory or apply the corresponding upstream fix.

Risk and Exploitability

The CVSS base score of 4.1 and an EPSS score of <1% classify this issue as low severity. The use‑after‑free bug can allow a local or privileged attacker who can trigger MTD virt_concat operations to corrupt kernel memory, cause a crash, or potentially execute arbitrary code with kernel privileges. No remote exploitation path is documented; the likely attack vector is via direct interaction with MTD devices or other kernel interfaces that use virt_concat. This weakness aligns with CWE‑416 (Use‑After‑Free) and CWE‑825 (Incorrect Synchronization for Access to Shared Resource).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the patch moving mtd_virt_concat_put_mtd_devices() before mtd_concat_destroy()
  • If an immediate kernel upgrade is not possible, restrict access to the MTD devices so that only privileged users can interact with /dev/mtd or other MTD interfaces
  • Verify that any custom or backported kernel patches maintain the corrected call order; if not, replace them with the upstream fix
  • As a temporary measure, disable the MTD virt_concat driver on systems where it is not required for operation

Generated by OpenCVE AI on August 12, 2026 at 19:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins() mtd_concat_destroy() frees item->concat so calling mtd_virt_concat_put_mtd_devices(item->concat) leads to a use after free. Fix this by moving mtd_virt_concat_put_mtd_devices() before mtd_concat_destroy()
Title mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:05 AM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 1:20 PM
Modified
Aug 17, 2026, 6:17 AM
Severity
Moderate
Public date
Aug 10, 2026, 12:04 PM