Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38141

published high CVSS 3.1 · 7.8

dm: fix dm_blk_report_zones

Published
03 Jul 2025, 08:35:42 UTC
Updated
05 Aug 2026, 11:59:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf211268ed1f9bdf48f06a3ead5f5d88437450579 to < f9c1bdf24615303d48a2d0fd629c88f3189563aa · f211268ed1f9bdf48f06a3ead5f5d88437450579 to < d19bc1b4dd5f322980b1f05f79b2ea4f0db10920 · f211268ed1f9bdf48f06a3ead5f5d88437450579 to < 37f53a2c60d03743e0eacf7a0c01c279776fef4e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.34 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1080 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.43.1.el10_1 ALSA-2026:4012
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.43.1.el10_1 ALSA-2026:4012
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 libperf Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 perf Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 rtla Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
AlmaLinux 9 rv Advisory build 5.14.0-611.26.1.el9_7 ALSA-2026:1143
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.43.1.el10_1 ELSA-2026-4012

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: dm: fix dm_blk_report_zones If dm_get_live_table() returned NULL, dm_put_live_table() was never called. Also, it is possible that md->zone_revalidate_map will change while calling this function. Only read it once, so that we are always using the same value. Otherwise we might miss a call to dm_put_live_table(). Finally, while md->zone_revalidate_map is set and a process is calling blk_revalidate_disk_zones() to set up the zone append emulation resources, it is possible that another process, perhaps triggered by blkdev_report_zones_ioctl(), will call dm_blk_report_zones(). If blk_revalidate_disk_zones() fails, these resources can be freed while the other process is still using them, causing a use-after-free error. blk_revalidate_disk_zones() will only ever be called when initially setting up the zone append emulation resources, such as when setting up a zoned dm-crypt table for the first time. Further table swaps will not set md->zone_revalidate_map or call blk_revalidate_disk_zones(). However it must be called using the new table (referenced by md->zone_revalidate_map) and the new queue limits while the DM device is suspended. dm_blk_report_zones() needs some way to distinguish between a call from blk_revalidate_disk_zones(), which must be allowed to use md->zone_revalidate_map to access this not yet activated table, and all other calls to dm_blk_report_zones(), which should not be allowed while the device is suspended and cannot use md->zone_revalidate_map, since the zone resources might be freed by the process currently calling blk_revalidate_disk_zones(). Solve this by tracking the process that sets md->zone_revalidate_map in dm_revalidate_zones() and only allowing that process to make use of it in dm_blk_report_zones().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

23

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable function is reached through the BLKREPORTZONE/BLKREPORTZONEV2 ioctl on a device-mapper block device node (blkdev_common_ioctl → blkdev_report_zones_ioctl → blkdev_report_zones → dm_blk_report_zones), i.e. a local syscall on a local device file. No network or remote peer data is involved. AC:L - The attacker fully controls their side of the race and can spin the ioctl at thousands of calls per second, while the vulnerable window — a whole-device zone revalidation on an SMR/ZNS device plus the entire DM_TABLE_LOAD-to-resume gap where md->map is NULL — is wide and recurs on every zoned DM table setup, so no condition outside the attacker's influence has to fall into place. PR:L - BLKREPORTZONE is handled in blkdev_common_ioctl() with no capable() check and without requiring FMODE_WRITE, so any local user able to open the DM device read-only (disk-group member, container with the device exposed, or an unprivileged process on an embedded/Android zoned-storage system) can drive the ioctl loop. UI:N - The attacker only needs to loop on the ioctl; the zone revalidation and the loaded-but-unresumed table state occur automatically during normal device setup at boot, hotplug, or storage-daemon activity, with no victim action required. S:U - The use-after-free, out-of-bounds per-CPU increment, and hang are all confined to the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A racing report walks a dm_table freed by dm_table_destroy() and zone resources freed by disk_free_zone_resources(), reading freed struct dm_target/dm_table contents and returning the resulting zone descriptors to userspace via blkdev_copy_zone_to_user(), and the SRCU counter imbalance from the garbage srcu_idx lets grace periods end early and expose further freed objects. I:H - dm_blk_do_report_zones() loads and calls tgt->type->report_zones out of a freed dm_table, giving a control-flow hijack primitive once the slab is reclaimed, and srcu_read_unlock() with an uninitialized stack index performs an out-of-bounds this_cpu_inc() past srcu_ctrs[] into adjacent per-CPU memory. A:H - The missing dm_put_live_table() permanently leaks an SRCU read-side critical section, so every later synchronize_srcu(&md->io_barrier) — table swap, suspend, or device removal — blocks forever in an unkillable D state while holding md->suspend_lock, wedging dmsetup; independently, the use-after-free on the freed table produces an oops or panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f211268ed1f9bdf48f06a3ead5f5d88437450579 to < f9c1bdf24615303d48a2d0fd629c88f3189563aa (affected · git)f211268ed1f9bdf48f06a3ead5f5d88437450579 to < d19bc1b4dd5f322980b1f05f79b2ea4f0db10920 (affected · git)f211268ed1f9bdf48f06a3ead5f5d88437450579 to < 37f53a2c60d03743e0eacf7a0c01c279776fef4e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.34 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

dm: fix dm_blk_report_zones

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
753fe3f1d714f52edc5ebd5a60ce35fc80e68330b85f75983f40543e69a127a3
Ingested
23 Sep 2026, 08:46:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected