LiveActive security incident?Get immediate response
CVE Record

CVE-2025-38141: dm: fix dm_blk_report_zones

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().

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux device-mapper race can cause freed memory to remain in use while zoned storage is being initialized. A successful trigger could compromise confidentiality, integrity, and availability. Exposure appears limited to systems using affected kernels and zoned device-mapper configurations, such as zoned dm-crypt, rather than ordinary Linux installations.

Executive priority

Prioritize investigation and patching on multi-user or otherwise exposed systems using zoned device-mapper storage. Treat general-purpose systems without zoned DM configurations as lower immediate priority, while still following normal kernel update schedules. Escalate if crashes or memory-corruption symptoms coincide with zoned-device initialization.

Technical view

Concurrent zone-reporting during initial zone-append emulation setup can race with a failed blk_revalidate_disk_zones() operation. Resources may be freed while dm_blk_report_zones() still uses them, producing a use-after-free. The fix tracks the process establishing zone_revalidate_map and restricts access to that process, while correcting live-table reference handling.

Likely exposure

The supplied record identifies affected Linux kernel versions including 6.10, 6.12.34, 6.15.3, and 6.16, but its version data is ambiguous. Practical exposure requires affected device-mapper zoned-storage behavior, especially initial zoned dm-crypt table setup. Confirm exact distribution kernel status with vendor advisories.

Exploitation context

CVSS 3.1 is 7.8 with local access, low complexity, low privileges, and no user interaction. The supplied sources do not report active exploitation, and the CVE is not listed as KEV. Reliable triggering may depend on concurrent zone reporting and failure during initial resource setup.

Researcher notes

The record supplies no CWE and does not establish exploitability beyond the CVSS assessment. Important prerequisites include zone_revalidate_map being set, concurrent dm_blk_report_zones() activity, and failure of zone revalidation during initial emulation-resource setup. Exact affected-version boundaries are not reliably expressed in the supplied version list.

Mitigation direction

  • Apply a vendor kernel update incorporating the referenced stable fixes.
  • Check distribution guidance for exact affected and corrected kernel builds.
  • Prioritize hosts using zoned device-mapper or zoned dm-crypt configurations.
  • Restrict unnecessary local access while remediation is pending.

Validation and detection

  • Record the running kernel and distribution package versions.
  • Identify systems using zoned device-mapper, particularly zoned dm-crypt.
  • Compare installed kernels against vendor advisories and referenced stable commits.
  • After updating, reboot and confirm the corrected kernel is running.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-38141 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-38141Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxf211268ed1f9bdf48f06a3ead5f5d88437450579, f211268ed1f9bdf48f06a3ead5f5d88437450579, f211268ed1f9bdf48f06a3ead5f5d88437450579unaffected
LinuxLinux6.10, 0, 6.12.34, 6.15.3, 6.16affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.