CVE-2026-143028

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143029In the Linux kernel, the following vulnerability has been resolved: dm: fix infinite loop in dm_blk_do_report_zones() If the device underlCVE-2026-143030In the Linux kernel, the following vulnerability has been resolved: dm: avoid double-dropping the zone reset submission reference On an erCVE-2026-143031In the Linux kernel, the following vulnerability has been resolved: dm log userspace: drop the device reference on error userspace_ctr() tCVE-2026-143032In the Linux kernel, the following vulnerability has been resolved: smb: client: don't write back through O_DIRECT handles Writeback uses CVE-2026-143033In the Linux kernel, the following vulnerability has been resolved: smb: client: don't retry failed writes forever regardless of mount optiCVE-2026-143034In the Linux kernel, the following vulnerability has been resolved: smb: client: don't give up writeback on the first replayable error ReaCVE-2026-143035In the Linux kernel, the following vulnerability has been resolved: smb: client: validate descriptor headers before query result allocationCVE-2026-143036In the Linux kernel, the following vulnerability has been resolved: smb: client: skip NULL channel in __cifs_put_smb_ses() cifs_chan_skip_CVE-2026-143037In the Linux kernel, the following vulnerability has been resolved: smb: client: retry writes that couldn't be issued due to a reconnect _CVE-2026-143038In the Linux kernel, the following vulnerability has been resolved: smb: client: retry writeback on interrupts and allocation failures IssCVE-2026-143039In the Linux kernel, the following vulnerability has been resolved: smb: client: let umount -f abort retried reads and writes umount -f onCVE-2026-143045.5In Eclipse Accessibility Tools Framework (ACTF) versions up to 1.6.0 (including source code versions up to v20260630 and ACTF based applicat
CVE-2026-143028: Unscored | Vulnix