Description
In the Linux kernel, the following vulnerability has been resolved: ublk: use global index for reported zones ublk_report_zones() may split a zone report into multiple requests when the number of zones exceeds the temporary buffer capacity. The index passed to disk_report_zone() 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 blk_revalidate_disk_zones() 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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 to < 615482db7b96b03e2742597cf903a10649ebbf2baffected29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 to < fbda665bae71c7498514ef9c31d43c0f2a9b023faffected29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 to < 829563900c2f734fe7853f7c8a357213227487bcaffected29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 to < 80897c7e5ae5c56f37a2eb004328edcb4da7cdd1affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.12.120 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected