AZL-117974: CVE-2026-143029 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In dm_blk_do_report_zones(), return -EIO when a target reports no zones.
Event History
Frequently Asked Questions
What conditions are required to trigger the hang?
A device-mapper zoned target must retain its old capacity after its underlying zoned device has been removed and its capacity becomes zero. A zone-report request against the mapped device can then cause dm_blk_do_report_zones() to loop because no zones are returned and the reporting state does not advance.
What is the operational impact?
The loop can hang the affected operation indefinitely. On non-preemptible kernels, it can also cause soft lockups and RCU stalls.
How can I tell whether a system is currently affected by this condition?
The affected state is indicated by a mapped zoned device whose underlying device has been removed, followed by a zone-report operation that does not complete. Soft-lockup or RCU-stall reports on non-preemptible kernels may accompany the hang.
What is the mitigation if the update cannot be applied immediately?
Avoid removing an underlying zoned device while a device-mapper target that maps it remains in use, and avoid issuing zone-report requests against such stale mapped devices. Remove or otherwise stop using the mapped target before deleting its underlying device.