CVE-2026-64232

In the Linux kernel, the following vulnerability has been resolved: block: recompute nr_integrity_segments in blk_insert_cloned_request blk_insert_cloned_request() already recomputes nr_phys_segments against the bottom queue, because "the queue settings related to segment counting may differ from the original queue." The exact same reasoning applies to integrity segments: a stacked driver's underlying queue can have tighter virt_boundary_mask, seg_boundary_mask, or max_segment_size than the top queue, in which case blk_rq_count_integrity_sg() against the bottom queue produces a different count than the cached rq->nr_integrity_segments inherited from the source request by blk_rq_prep_clone(). When the cached count is lower than the bottom queue's actual count, blk_rq_map_integrity_sg() trips BUG_ON(segments > rq->nr_integrity_segments); on dispatch. The same families of stacked setups that motivated the existing nr_phys_segments recompute -- dm-multipath fanning out to nvme-rdma in particular -- can produce this. Mirror the nr_phys_segments handling: when the request carries integrity, recompute nr_integrity_segments against the bottom queue and reject the request if it exceeds the bottom queue's max_integrity_segments. blk_rq_count_integrity_sg() and queue_max_integrity_segments() are both already available via <linux/blk-integrity.h>, which blk-mq.c includes. This closes a latent gap in the stacking contract and brings the integrity-segment accounting in line with the existing phys-segment accounting.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*

History

08 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: block: recalcular nr_integrity_segments en blk_insert_cloned_request blk_insert_cloned_request() ya recalcula nr_phys_segments contra la cola inferior, porque ’la configuración de la cola relacionada con el conteo de segmentos puede diferir de la cola original.’ El mismo razonamiento exacto se aplica a los segmentos de integridad: la cola subyacente de un controlador apilado puede tener un virt_boundary_mask, seg_boundary_mask o max_segment_size más estricto que la cola superior, en cuyo caso blk_rq_count_integrity_sg() contra la cola inferior produce un conteo diferente que el rq -> nr_integrity_segments en caché heredado de la solicitud de origen por blk_rq_prep_clone(). Cuando el conteo en caché es menor que el conteo real de la cola inferior, blk_rq_map_integrity_sg() activa BUG_ON(segments > rq -> nr_integrity_segments); en el despacho. Las mismas familias de configuraciones apiladas que motivaron el recálculo existente de nr_phys_segments -- dm-multipath que se ramifica a nvme-rdma en particular -- pueden producir esto. Reflejar el manejo de nr_phys_segments: cuando la solicitud lleva integridad, recalcular nr_integrity_segments contra la cola inferior y rechazar la solicitud si excede el max_integrity_segments de la cola inferior. blk_rq_count_integrity_sg() y queue_max_integrity_segments() ya están disponibles ambos a través de <linux/blk-integrity.h>, que blk-mq.c incluye. Esto cierra una brecha latente en el contrato de apilamiento y alinea la contabilidad de segmentos de integridad con la contabilidad existente de segmentos físicos.

19 Oct 2026, 21:17

Type Values Removed Values Added
CWE CWE-667

12 Aug 2026, 19:14

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0943f81e1b3176f27dbaf6db268fc69d8a94f0ba - () https://git.kernel.org/stable/c/0943f81e1b3176f27dbaf6db268fc69d8a94f0ba - Patch
References () https://git.kernel.org/stable/c/2c6e6a18a37b905cb584eb0dda3ae482162a81ca - () https://git.kernel.org/stable/c/2c6e6a18a37b905cb584eb0dda3ae482162a81ca - Patch
References () https://git.kernel.org/stable/c/42929c98d044f126508baf54a65b0f87f932fa75 - () https://git.kernel.org/stable/c/42929c98d044f126508baf54a65b0f87f932fa75 - Patch
References () https://git.kernel.org/stable/c/53a01bcc0242590eda4c452a5bd996f62457113b - () https://git.kernel.org/stable/c/53a01bcc0242590eda4c452a5bd996f62457113b - Patch
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
CWE NVD-CWE-noinfo

27 Jul 2026, 05:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

24 Jul 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-24 16:16

Updated : 2026-11-08 20:10


NVD link : CVE-2026-64232

Mitre link : CVE-2026-64232

CVE.ORG link : CVE-2026-64232


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
NVD-CWE-noinfo CWE-667

Improper Locking