CVE-2026-143028
Received Received - Intake

Use-After-Free in Linux Kernel Device Mapper

Vulnerability report for CVE-2026-143028, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: dm: fix use-after-free when dm_get_device() widens the open mode There's an UAF bug in dm_get_device(): when a table construction calls dm_get_device() on the same device twice with widen access mode (e.g., read-only first then read-write), the second dm_get_device() calls upgrade_mode(), which reopens the device in upgraded mode, making previously returned dm_dev* a stale pointer. Fixing approaches: - Add per-mode views (dm_dev_ref) from a per-device dm_dev_internal to multiple table_devices. - Keep reusing the dm_dev_ref when the requested mode is included, i.e., a read-only reference can reuse the read-write opened device within a table. - Maintain a canonical block_device pointer in dm_dev_internal for handling the DM_TABLE_DEPS ioctl. Also tweak the way of mode sharing check in find_ref() to "(x & mask) == mask". The result stays the same to the previous upgrade_mode() guard "(x | mask) == x". Pros: keep the relationship between dm_dev_internal and table_device: one dm_dev_internal per device, regardless the mode, so the output of DMM_TABLE_DEPS ioctl unchanged. Cons: extra dm_dev_ref allocation. Note that now the table_device's count not necessarily mean the number tables referecing this <dev, mode> pair, since we're allowing multiple references within a table.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free (UAF) vulnerability in the Linux kernel's device mapper (dm) component. It occurs when dm_get_device() is called twice on the same device with a widened access mode, such as first opening in read-only mode and then upgrading to read-write. The second call reopens the device in the new mode, making the previously returned dm_dev pointer stale and leading to a use-after-free scenario.

Detection Guidance

This vulnerability is specific to the Linux kernel's device mapper (dm) subsystem. Detection requires checking kernel logs for use-after-free errors related to dm_get_device() or examining kernel source code for the described flaw. No direct network detection commands exist; focus on system-level checks.

Impact Analysis

This vulnerability could allow an attacker to cause a system crash, execute arbitrary code, or escalate privileges on a system running a vulnerable Linux kernel. It specifically affects systems using device mapper, which is commonly used for disk management tasks like LVM, encryption, or RAID.

Mitigation Strategies

Apply the latest Linux kernel patches addressing this issue. Monitor kernel.org or your distribution's security advisories for updates. If immediate patching isn't possible, restrict access to device mapper operations or disable affected dm functionality until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143028. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...