Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64232

block: recompute nr_integrity_segments in blk_insert_cloned_request
Back to all
CVE

CVE-2026-64232

block: recompute nr_integrity_segments in blk_insert_cloned_request

In the Linux kernel, the following vulnerability has been resolved:

block: recompute nrintegritysegments in blkinsertcloned_request

blkinsertclonedrequest() already recomputes nrphys_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 virtboundarymask, segboundarymask, or

maxsegmentsize than the top queue, in which case

blkrqcountintegritysg() against the bottom queue produces a

different count than the cached rq->nrintegritysegments inherited

from the source request by blkrqprep_clone().

When the cached count is lower than the bottom queue's actual count,

blkrqmapintegritysg() trips

BUGON(segments > rq->nrintegrity_segments);

on dispatch. The same families of stacked setups that motivated the

existing nrphyssegments recompute -- dm-multipath fanning out to

nvme-rdma in particular -- can produce this.

Mirror the nrphyssegments handling: when the request carries

integrity, recompute nrintegritysegments against the bottom queue

and reject the request if it exceeds the bottom queue's

maxintegritysegments. blkrqcountintegritysg() and

queuemaxintegrity_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/0943f81e1b3176f27dbaf6db268fc69d8a94f0ba, https://git.kernel.org/stable/c/2c6e6a18a37b905cb584eb0dda3ae482162a81ca, https://git.kernel.org/stable/c/42929c98d044f126508baf54a65b0f87f932fa75, https://git.kernel.org/stable/c/53a01bcc0242590eda4c452a5bd996f62457113b, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64232.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64232, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00457%
EPSS Percentile
0.38479%
Introduced Version
76c313f658d2752e8527610677164aa7094ef7a5,6.12.0,6.13.0,6.19.0,0
Fix Available
2c6e6a18a37b905cb584eb0dda3ae482162a81ca,6.12.92,6.18.34,7.0.11,6.12.94-1,7.0.0-1011.11~24.04.1,7.0.0-28.28~24.04.1,7.0.0-1016.16~24.04.1,7.0.0-28.28.1~24.04.3,1:6.18.35-68.127.amzn2023,1:1.0-0.amzn2023,1:6.12.92-122.166.amzn2023

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading