CVE-2026-143028
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 versions
Linux kernel versions
3.18
and later are affected. Fixed in
7.3.7,
7.4-rc3
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2026-143028?
CVE-2026-143028 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.18 onward and has been patched in 7.3.7 and 7.4-rc3. CVE-2026-143028 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-143028?
Yes. CVE-2026-143028 has been patched. Fixed versions include 7.3.7 and 7.4-rc3. If you are running Linux kernel 3.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-143028 actively exploited?
No. CVE-2026-143028 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.