CVE-2026-68423

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

Published Aug 10, 2026 CVSS 3.1 · 5.7 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()

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

Fix it by moving mtd_virt_concat_put_mtd_devices() before
mtd_concat_destroy().

Analysis

AI-generated

Technical impact

The flaw occurs when the destroy routine frees a concat structure before the attached devices are released. As a result, a subsequent call to release the devices accesses freed memory, creating a use‑after‑free condition. Based on the description, it is inferred that an attacker who can trigger the destruction routine could corrupt memory, potentially enabling code execution or causing a crash.

Affected Systems

Any Linux kernel that contains the MTD virt_concat subsystem before the fix is vulnerable. The vulnerability is present in versions that compile the module without the commit that moves the device release before the destroy call, but no specific version range was enumerated.

Risk and Exploitability

The CVSS score is 5.7 and the EPSS score is less than 1 %. It is not listed in the CISA KEV catalog. The likely attack vector is local, requiring the ability to invoke the destructive sequence, which typically implies privileged or local access. No remote exploitation path is documented. These facts suggest the risk is moderate; timely patching is advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a Linux kernel that includes the mtd_virt_concat patch that moves the device release before the destroy call,
  • Check whether the system uses the MTD virt_concat subsystem; if it is not compiled or loaded you can consider it safe,
  • If an immediate kernel update is not possible, disable the MTD virt_concat feature or avoid performing device removal operations that could trigger the destroy routine.

Generated by OpenCVE AI on August 13, 2026 at 03:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

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

None

cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/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() mtd_concat_destroy() frees item->concat so calling mtd_virt_concat_put_mtd_devices(item->concat) after that leads to a use-after-free. Fix it 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()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

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