AZL-117082: CVE-2026-139347 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ublk: use global index for reported zones
ublkreportzones() may split a zone report into multiple requests when the number of zones exceeds the temporary buffer capacity. The index passed to diskreportzone() must refer to the zone position in the whole report, rather than the position within the current request.
Currently, the per-request loop index is used as the callback index, causing each chunk after the first one to restart from zero. This can make userspace callbacks receive duplicate zone indices and may result in blkrevalidatediskzones() updating incorrect entries in its zone state array.
Use the number of zones already reported as the base index for each request so that zone indices remain continuous across all chunks.
Affected Software
Event History
Frequently Asked Questions
When can incorrect zone indices be reported?
The issue occurs when ublk_report_zones() must split a zone report into multiple requests because the number of zones exceeds its temporary buffer capacity. Chunks after the first can restart callback indices at zero instead of continuing from the overall report position.
What is the practical effect of the incorrect indices?
Userspace callbacks can receive duplicate zone indices. blk_revalidate_disk_zones() may then update incorrect entries in its zone state array.