1. Archivio CVE
  2. 2026
  3. CVE-2026-64232

CVE-2026-64232

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 6.12 < 6.12.92 –
linux linux kernel >= 6.13 < 6.18.34 –
linux linux kernel >= 6.19 < 7.0.11 –
linux linux kernel 7.1 rc1 –
linux linux kernel 7.1 rc2 –
linux linux kernel 7.1 rc3 –
Tutte le 23.461 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-667 Gestione impropria dei lock

Il prodotto non acquisisce o non rilascia correttamente il blocco (lock) su una risorsa, causando stati e comportamenti imprevisti.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU
Integrità Modificare la memoria, Modificare i dati dell’applicazione
Altro Dipende dal contesto, Stato imprevisto

Come si previene

Sviluppo · Librerie o framework Use industry standard APIs to implement locking mechanism.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 738 CVE di tipo CWE-667, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org