CVE-2026-143028
Last modified
CVE-2026-143028 is a vulnerability of currently unknown severity. 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..
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 86f1152b117a404229fd6f08ec3faca779f37b92, < fc0e745c74a4344c330e38cde824ef611a15d219; >= 86f1152b117a404229fd6f08ec3faca779f37b92, < c834161ded1a141a58d5f03b24f6894291222c96 |
| Linux | Linux | 3.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143028?
How severe is CVE-2026-143028?
How do I fix CVE-2026-143028?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143022In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143023In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-143024In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143025In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143026In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143027In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143029In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143030In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-143031In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143032In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143033In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143034In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-143028?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
