dm: fix dm_blk_report_zones
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 20 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.12.34, 6.15.3, 6.16
Red Hat 4 advisories
- RHSA-2026:6193 Released 2026-03-30 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) kernel-64k-debug-devel-6.12.0-55.65.1.el10_0, kernel-64k-debug-devel-matched-6.12.0-55.65.1.el10_0, kernel-64k-devel-6.12.0-55.65.1.el10_0 +12
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) kernel-6.12.0-55.65.1.el10_0, kernel-64k-6.12.0-55.65.1.el10_0, kernel-64k-core-6.12.0-55.65.1.el10_0 +28
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) kernel-tools-libs-devel-6.12.0-55.65.1.el10_0, libperf-6.12.0-55.65.1.el10_0
- Red Hat Enterprise Linux Real Time EUS (v. 10.0) kernel-rt-6.12.0-55.65.1.el10_0, kernel-rt-64k-6.12.0-55.65.1.el10_0, kernel-rt-64k-core-6.12.0-55.65.1.el10_0 +21
- Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) kernel-rt-6.12.0-55.65.1.el10_0, kernel-rt-core-6.12.0-55.65.1.el10_0, kernel-rt-debug-6.12.0-55.65.1.el10_0 +11
- RHSA-2026:4012 Released 2026-03-09 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-124.43.1.el10_1, kernel-64k-debug-devel-matched-6.12.0-124.43.1.el10_1, kernel-64k-devel-6.12.0-124.43.1.el10_1 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-124.43.1.el10_1, kernel-64k-6.12.0-124.43.1.el10_1, kernel-64k-core-6.12.0-124.43.1.el10_1 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-124.43.1.el10_1, libperf-6.12.0-124.43.1.el10_1
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-124.43.1.el10_1, kernel-rt-64k-6.12.0-124.43.1.el10_1, kernel-rt-64k-core-6.12.0-124.43.1.el10_1 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-124.43.1.el10_1, kernel-rt-core-6.12.0-124.43.1.el10_1, kernel-rt-debug-6.12.0-124.43.1.el10_1 +9
- RHSA-2026:4011 Released 2026-03-09 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) kernel-tools-libs-devel-5.14.0-570.96.1.el9_6, libperf-5.14.0-570.96.1.el9_6
- Red Hat Enterprise Linux AppStream EUS (v.9.6) kernel-64k-debug-devel-5.14.0-570.96.1.el9_6, kernel-64k-debug-devel-matched-5.14.0-570.96.1.el9_6, kernel-64k-devel-5.14.0-570.96.1.el9_6 +12
- Red Hat Enterprise Linux BaseOS EUS (v.9.6) kernel-5.14.0-570.96.1.el9_6, kernel-64k-5.14.0-570.96.1.el9_6, kernel-64k-core-5.14.0-570.96.1.el9_6 +28
- Red Hat Enterprise Linux Real Time EUS (v.9.6) kernel-rt-5.14.0-570.96.1.el9_6, kernel-rt-64k-5.14.0-570.96.1.el9_6, kernel-rt-64k-core-5.14.0-570.96.1.el9_6 +21
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) kernel-rt-5.14.0-570.96.1.el9_6, kernel-rt-core-5.14.0-570.96.1.el9_6, kernel-rt-debug-5.14.0-570.96.1.el9_6 +11
Show 1 more Red Hat advisories
- RHSA-2026:1143 Released 2026-01-26 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-611.26.1.el9_7, kernel-64k-debug-devel-matched-5.14.0-611.26.1.el9_7, kernel-64k-devel-5.14.0-611.26.1.el9_7 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-611.26.1.el9_7, kernel-64k-5.14.0-611.26.1.el9_7, kernel-64k-core-5.14.0-611.26.1.el9_7 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-611.26.1.el9_7, libperf-5.14.0-611.26.1.el9_7
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-611.26.1.el9_7, kernel-rt-64k-5.14.0-611.26.1.el9_7, kernel-rt-64k-core-5.14.0-611.26.1.el9_7 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-611.26.1.el9_7, kernel-rt-core-5.14.0-611.26.1.el9_7, kernel-rt-debug-5.14.0-611.26.1.el9_7 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:4011 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:4011 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.6) | Fixed | RHSA-2026:4011 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux Real Time EUS (v. 10.0) | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux Real Time EUS (v.9.6) | Fixed | RHSA-2026:4011 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:4012 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) | Fixed | RHSA-2026:6193 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) | Fixed | RHSA-2026:4011 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-38141
- 2026-10-03 Alias added: GHSA-r6wx-gh72-c6q5
References
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-38141 · CVE Program
- CVE-2025-38141 · NVD
- FIRST EPSS
- GHSA-r6wx-gh72-c6q5 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-38141 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences