CVE-2026-143029: dm: fix infinite loop in dm_blk_do_report_zones()

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dm: fix infinite loop in dmblkdoreportzones()

If the device underlying a zoned target is removed, its capacity is set to 0 and blkdevreportzones() returns 0 without reporting any zones. The mapped device keeps its old capacity, so args->zoneidx and args->nextsector never advance and dmblkdoreportzones() loops forever. On non-preemptible kernels this causes soft lockups and RCU stalls.

The following sequence of commands triggers the hang:

modprobe scsidebug zbc=managed devsizemb=1024 zonesizemb=64 udevadm settle echo '0 2097152 linear /dev/sda 0' | dmsetup create lin echo 1 > /sys/block/sda/device/delete blkzone report -o 0 -c 1 /dev/mapper/lin

Fix this by returning -EIO when a target reports no zones. The target always maps args->nextsector, so a zero return means the underlying device no longer covers that sector.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In dm_blk_do_report_zones(), return -EIO when a target reports no zones.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to the hang?

Systems using a device-mapper target backed by a zoned device are exposed when the underlying device is removed while the mapped device retains its previous capacity. A zone-report operation against the mapped device can then loop indefinitely.

2

What does an attacker or triggering process need to do?

The triggering condition requires removal of the underlying zoned device followed by a zone report on the device-mapper mapping. The reported example uses blkzone report against the mapped device after deleting the backing SCSI device.

3

How can administrators recognize that this issue is occurring?

Affected systems may hang during zone reporting on a device-mapper device after its backing device has been removed. Non-preemptible kernels can show soft lockups and RCU stalls because the reporting loop does not make progress.

4

What can be done if the fix cannot be applied immediately?

Avoid running zone-report operations on device-mapper mappings whose underlying zoned device has been removed. Treat a removed backing device as unavailable and avoid retaining or querying the stale mapping until it is repaired or removed.

5

What behavior changes after the fix?

When a target reports no zones for the requested sector, the operation returns an EIO error instead of continuing the loop. This prevents the non-progressing zone-report loop when the backing device no longer covers that sector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203