CVE-2025-38141
BaseFortify
Publication date: 2025-07-03
Last updated on: 2025-11-20
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel involves improper handling of zone append emulation resources in device-mapper (dm) code. Specifically, if dm_get_live_table() returns NULL, dm_put_live_table() is not called, and the zone_revalidate_map value may change during function calls, leading to inconsistent use. When blk_revalidate_disk_zones() fails while setting up zone append emulation resources, another process might still be using those resources, causing a use-after-free error. The fix involves tracking the process that sets zone_revalidate_map and only allowing that process to use it, preventing unsafe concurrent access.
How can this vulnerability impact me? :
This vulnerability can lead to a use-after-free error in the Linux kernel's device-mapper subsystem, which may cause system instability, crashes, or potential security risks such as privilege escalation or denial of service if exploited. It affects the handling of zoned block devices and could impact systems using zoned dm-crypt tables or similar setups.