VDB

CVE-2026-64232

CVE-2026-64232 PUBLISHED CVSS 9.8 CRITICAL

block: recompute nr_integrity_segments in blk_insert_cloned_request

Reported by linux · Published July 24, 2026

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.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux76c313f658d2752e8527610677164aa7094ef7a5, 76c313f658d2752e8527610677164aa7094ef7a5, 76c313f658d2752e8527610677164aa7094ef7a5
LinuxLinux6.12, 0, 6.12.92
linuxlinux_kernel6.12, 6.12, 6.12
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.120
amazon:2023kernel6.180
amazon:2023bpftool6.120
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.18.35-68.1270

…and 7 more

Timeline

  • Jul 24, 2026 Coalition ESS Score
  • Jul 24, 2026 CVE Published
  • Jul 25, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64232
vulnetix vdb fixes CVE-2026-64232

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64232/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›