{"id":"CVE-2026-68423","state":"PUBLISHED","title":"mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()\n\nmtd_concat_destroy() frees item->concat so calling\nmtd_virt_concat_put_mtd_devices(item->concat) after that leads to a\nuse-after-free.\n\nFix it by moving mtd_virt_concat_put_mtd_devices() before\nmtd_concat_destroy().","publishedAt":"2026-08-10T12:04:43.942Z","updatedAt":"2026-08-17T05:05:18.750Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"43db6366fc2de02050e66389f5628d3fdc9af10a","status":"affected","lessThan":"d36520e5da8bf87265b334def0daaadf3603cc62","versionType":"git"},{"version":"43db6366fc2de02050e66389f5628d3fdc9af10a","status":"affected","lessThan":"4b45d7836b9526b8776af5f29219615be9417230","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/mtd_virt_concat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/mtd_virt_concat.c"]}],"references":["https://git.kernel.org/stable/c/d36520e5da8bf87265b334def0daaadf3603cc62","https://git.kernel.org/stable/c/4b45d7836b9526b8776af5f29219615be9417230"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68423.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68423","state":"PUBLISHED","datePublished":"2026-08-10T12:04:43.942Z","dateUpdated":"2026-08-17T05:05:18.750Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.392Z"},"containers":{"cna":{"title":"mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()\n\nmtd_concat_destroy() frees item->concat so calling\nmtd_virt_concat_put_mtd_devices(item->concat) after that leads to a\nuse-after-free.\n\nFix it by moving mtd_virt_concat_put_mtd_devices() before\nmtd_concat_destroy()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"43db6366fc2de02050e66389f5628d3fdc9af10a","status":"affected","lessThan":"d36520e5da8bf87265b334def0daaadf3603cc62","versionType":"git"},{"version":"43db6366fc2de02050e66389f5628d3fdc9af10a","status":"affected","lessThan":"4b45d7836b9526b8776af5f29219615be9417230","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/mtd_virt_concat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/mtd_virt_concat.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d36520e5da8bf87265b334def0daaadf3603cc62"},{"url":"https://git.kernel.org/stable/c/4b45d7836b9526b8776af5f29219615be9417230"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:05:18.750Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}