5.5

CVE-2025-38140: linux

CVSS: 5.5v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2025-38140DEBIAN-CVE-2025-38140CGA-23h6-w3wc-7q6h
Published 03-07-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-38140 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.6% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 13

Timeline

  1. 03-07-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: dm: limit swapping tables for devices with zone write plugs dm_revalidate_zones() only allowed new or previously unzoned devices to call blk_revalidate_disk_zones(). If the device was already zoned, disk->nr_zones would always equal md->nr_zones, so dm_revalidate_zones() returned without doing any work. This would make the zoned settings for the device not match the new table. If the device had zone write plug resources, it could run into errors like bdev_zone_is_seq() reading invalid memory because disk->conv_zones_bitmap was the wrong size. If the device doesn't have any zone write plug resources, calling blk_revalidate_disk_zones() will always correctly update device. If blk_revalidate_disk_zones() fails, it can still overwrite or clear the current disk->nr_zones value. In this case, DM must restore the previous value of disk->nr_zones, so that the zoned settings will continue to match the previous value that it fell back to. If the device already has zone write plug resources, blk_revalidate_disk_zones() will not correctly update them, if it is called for arbitrary zoned device changes. Since there is not much need for this ability, the easiest solution is to disallow any table reloads that change the zoned settings, for devices that already have zone plug resources. Specifically, if a device already has zone plug resources allocated, it can only switch to another zoned table that also emulates zone append. Also, it cannot change the device size or the zone size. A device can switch to an error target.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

+0.02 pp

From 0.14% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Ubuntu136 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.12< 6.12.69-r0 | < 6.12.72-r1 | < 6.12.78-r0 | < 6.12.65-r1 | < 6.12.70-r0 | < 6.12.62-r1 | < 6.12.62-r0 | < 6.12.60-r4 | < 6.12.76-r0 | < 6.12.71-r0 | < 6.12.74-r1 | < 6.12.67-r0 | < 6.12.65-r0 | < 6.12.80-r0 | < 6.12.77-r0 | < 6.12.68-r1 | < 6.12.63-r0 | < 6.12.77-r1 | < 6.12.72-r0 | < 6.12.62-r2 | < 6.12.77-r2 | < 6.12.65-r2 | < 6.12.74-r0 | < 6.12.68-r0 | < 6.12.66-r0
  • linux-azure-6.12< 6.12.71-r0 | < 6.12.67-r0 | < 6.12.65-r2 | < 6.12.74-r1 | < 6.12.74-r0 | < 6.12.77-r1 | < 6.12.76-r0 | < 6.12.70-r0 | < 6.12.77-r0 | < 6.12.60-r4 | < 6.12.62-r0 | < 6.12.69-r0 | < 6.12.63-r0 | < 6.12.72-r0 | < 6.12.78-r0 | < 6.12.66-r0 | < 6.12.65-r4 | < 6.12.68-r0 | < 6.12.77-r2 | < 6.12.80-r0 | < 6.12.65-r3 | < 6.12.65-r1 | < 6.12.60-r3 | < 6.12.62-r2 | < 6.12.62-r1
  • linux-gcp-6.12< 6.12.77-r2 | < 6.12.63-r0 | < 6.12.60-r4 | < 6.12.70-r0 | < 6.12.66-r0 | < 6.12.68-r1 | < 6.12.65-r0 | < 6.12.62-r2 | < 6.12.71-r0 | < 6.12.62-r0 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.76-r0 | < 6.12.74-r0 | < 6.12.69-r0 | < 6.12.68-r0 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.77-r1 | < 6.12.60-r3 | < 6.12.65-r2 | < 6.12.62-r1 | < 6.12.67-r0 | < 6.12.77-r0 | < 6.12.74-r1
  • linux-qemu-6.12< 6.12.74-r1 | < 6.12.69-r0 | < 6.12.65-r2 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.77-r1 | < 6.12.76-r0 | < 6.12.77-r0 | < 6.12.71-r0 | < 6.12.68-r0 | < 6.12.77-r2 | < 6.12.70-r0 | < 6.12.74-r0 | < 6.12.66-r0 | < 6.12.67-r0 | < 6.12.80-r0 | < 6.12.78-r0
  • linux-vmware-6.12< 6.12.77-r0 | < 6.12.70-r0 | < 6.12.76-r0 | < 6.12.71-r0 | < 6.12.66-r0 | < 6.12.67-r0 | < 6.12.69-r0 | < 6.12.77-r2 | < 6.12.68-r1 | < 6.12.68-r0 | < 6.12.77-r1 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.74-r1 | < 6.12.80-r0 | < 6.12.74-r0 | < 6.12.78-r0 | < 6.12.65-r2
Linux2 products
  • linux≥ bb37d77239af25cde59693dbe3fac04dd17d7b29, < ac8acb0bfd98a1c65f3ca9a3e217a766124eebd8 | ≥ bb37d77239af25cde59693dbe3fac04dd17d7b29, < 121218bef4c1df165181f5cd8fc3a2246bac817e | 5.14
  • linux_kernel≥ 5.14, < 6.15.3
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.16.3-1

4 vendors · 144 products

References

13 links
Show all 13 references