svcrdma: Reject Read lists that exceed the page budget
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 026d958b38c628a1b4ced534808945365e2747a5 · < 0ca487abb3bdf581851664b5db21f364caf57682| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
svcrdma: Reject Read lists that exceed the page budget
Individual Read segment lengths are validated at decode time, but nothing prevents a requester from sending multiple segments whose cumulative length exceeds the rq_pages array budget. When one segment fills the page array exactly, the runtime guard in svc_rdma_build_read_segment() is bypassed because len reaches zero. A subsequent segment then accesses the NULL sentinel slot at rq_pages[rq_maxpages], resulting in a NULL pointer dereference during DMA mapping.
Accumulate pages across all Read segments and reject the message at decode time when the total would overflow the page budget.
From the CVE record · Linux
The Linux kernel’s svcrdma code fails to enforce the page budget across multiple Read segments. A requester can send segments whose combined length exceeds that budget, causing a NULL pointer dereference during DMA mapping. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with svcrdma should check their exposure; affected versions are not specified.