{"id":"CVE-2026-46327","state":"PUBLISHED","title":"dm: fix unlocked test for dm_suspended_md","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix unlocked test for dm_suspended_md\n\nThe function dm_blk_report_zones tests if the device is suspended with\nthe \"dm_suspended_md\" call. However, this function is called without\nholding any locks, so the device may be suspended just after it.\n\nMove the call to dm_suspended_md after dm_get_live_table, so that the\ndevice can't be suspended after the suspended state was tested.","publishedAt":"2026-06-09T12:25:54.781Z","updatedAt":"2026-10-19T19:36:58.906Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9c1bdf24615303d48a2d0fd629c88f3189563aa","status":"affected","lessThan":"175ac0a6115400278d3900f5a04a58b17b3f6cd0","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"7a3385e97af2b6f485fef11e82d8c29adee4be93","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"d809a36692ee1394cac85ce6ba7cf8ea58da5812","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"24c405fdbe215c45e57bba672cc42859038491ee","versionType":"git"},{"version":"d19bc1b4dd5f322980b1f05f79b2ea4f0db10920","status":"affected","versionType":"git"},{"version":"6.12.34","status":"affected","lessThan":"6.12.75","versionType":"semver"},{"version":"6.15.3","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-zone.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-zone.c"]}],"references":["https://git.kernel.org/stable/c/175ac0a6115400278d3900f5a04a58b17b3f6cd0","https://git.kernel.org/stable/c/7a3385e97af2b6f485fef11e82d8c29adee4be93","https://git.kernel.org/stable/c/d809a36692ee1394cac85ce6ba7cf8ea58da5812","https://git.kernel.org/stable/c/24c405fdbe215c45e57bba672cc42859038491ee"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46327.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46327","state":"PUBLISHED","datePublished":"2026-06-09T12:25:54.781Z","dateUpdated":"2026-10-19T19:36:58.906Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.112Z"},"containers":{"cna":{"title":"dm: fix unlocked test for dm_suspended_md","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix unlocked test for dm_suspended_md\n\nThe function dm_blk_report_zones tests if the device is suspended with\nthe \"dm_suspended_md\" call. However, this function is called without\nholding any locks, so the device may be suspended just after it.\n\nMove the call to dm_suspended_md after dm_get_live_table, so that the\ndevice can't be suspended after the suspended state was tested."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9c1bdf24615303d48a2d0fd629c88f3189563aa","status":"affected","lessThan":"175ac0a6115400278d3900f5a04a58b17b3f6cd0","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"7a3385e97af2b6f485fef11e82d8c29adee4be93","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"d809a36692ee1394cac85ce6ba7cf8ea58da5812","versionType":"git"},{"version":"37f53a2c60d03743e0eacf7a0c01c279776fef4e","status":"affected","lessThan":"24c405fdbe215c45e57bba672cc42859038491ee","versionType":"git"},{"version":"d19bc1b4dd5f322980b1f05f79b2ea4f0db10920","status":"affected","versionType":"git"},{"version":"6.12.34","status":"affected","lessThan":"6.12.75","versionType":"semver"},{"version":"6.15.3","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-zone.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-zone.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/175ac0a6115400278d3900f5a04a58b17b3f6cd0"},{"url":"https://git.kernel.org/stable/c/7a3385e97af2b6f485fef11e82d8c29adee4be93"},{"url":"https://git.kernel.org/stable/c/d809a36692ee1394cac85ce6ba7cf8ea58da5812"},{"url":"https://git.kernel.org/stable/c/24c405fdbe215c45e57bba672cc42859038491ee"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is reached only through local block-layer ioctls (BLKREPORTZONE/BLKREPORTZONEV2 via blkdev_report_zones_ioctl) and device-mapper control ioctls that trigger dm_swap_table/dm_revalidate_zones; there is no network-facing entry point.\nAC:L - Exploitation is a TOCTOU race between concurrent BLKREPORTZONE calls and a zoned dm table activation/revalidation; an attacker can control both sides by running parallel threads and retrying until the window is hit, without depending on uncontrollable timing or memory layout.\nPR:L - Triggering dm table load/swap and zone revalidation requires CAP_SYS_ADMIN, which is obtainable by an unprivileged user inside a user namespace (unshare -Urn); BLKREPORTZONE additionally requires read access to the dm block device, which the same attacker can grant when creating the device.\nUI:N - No victim interaction is required once the attacker has the needed privileges and device access; the race can be driven entirely by attacker-controlled ioctl threads during dm-crypt zoned table setup.\nS:U - The use-after-free corrupts kernel heap metadata and zone-write-plug structures within kernel memory; it does not cross a VM, container, or IOMMU security boundary to affect a separate authority.\nC:H - The bug revives the CVE-2025-38141 class use-after-free where disk_free_zone_resources() can free zone_wplugs_hash/zones_cond while dm_blk_report_zones() still reads them through the live table path, enabling disclosure of freed kernel heap contents.\nI:H - Use-after-free on zone write plug and zone-condition structures provides attacker-influencable heap corruption primitives that can be developed into arbitrary kernel memory writes or control-flow hijack, not merely a bounded modification.\nA:H - Concurrent access to freed zone resources during failed blk_revalidate_disk_zones() can cause kernel oops/panic from dereferencing freed zone_wplugs_hash, zones_cond, or related structures, even when full exploitation is not attempted."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:31:22.716Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.34","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-46327","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:22:16.430684Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","type":"CWE","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T19:36:58.906Z"}}]}}}