Servers and applications
CVE-2026-143028
dm: fix use-after-free when dm_get_device() widens the open mode
- Severity
- Unrated
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 7.3.7
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
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".
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
Status in Debian
Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.
- 4 vulnerable
| Package | Debian release | Status |
|---|---|---|
| linux | sidunstable | VulnerableNo fix yet. |
| 14forkytesting | VulnerableNo fix yet. | |
| 13trixiestable | VulnerableNo fix yet. | |
| 12bookwormoldstable | VulnerableNo fix yet. |
From Debian's security tracker for CVE-2026-143028 , read in the last 12 hours.
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 257,106GitHub, 29 Nov 2026
- Forks
- 66,781GitHub, 29 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 4,747
- Published in the last 12 months
- 4,747
- Critical, last 12 months
- 108
- High, last 12 months
- 669
- Known exploited
- 0
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packetsUnrated 3 Dec 2026
- CVE-2026-143400virtio_net: check RX buffer length before DMA syncUnrated 3 Dec 2026
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()Unrated 3 Dec 2026
- CVE-2026-143398Input: destroy force-feedback device on input unregistrationUnrated 3 Dec 2026
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transportsUnrated 3 Dec 2026
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-freeUnrated 3 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-143028