CVE-2026-89528: svcrdma: Reject Read lists that exceed the page budget
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-89528 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.13 with commit 026d958b38c628a1b4ced534808945365e2747a5 and fixed in 6.18.51 with commit 1a3af2262cb384112ef38632de4690682be528b4 Issue introduced in 4.13 with commit 026d958b38c628a1b4ced534808945365e2747a5 and fixed in 7.2.4 with commit 465f511f59a0fa7a80d5d1073c4b24f28ea38f58 Issue introduced in 4.13 with commit 026d958b38c628a1b4ced534808945365e2747a5 and fixed in 7.3-rc1 with commit 0ca487abb3bdf581851664b5db21f364caf57682
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89528
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1a3af2262cb384112ef38632de4690682be528b4 https://git.kernel.org/stable/c/465f511f59a0fa7a80d5d1073c4b24f28ea38f58 https://git.kernel.org/stable/c/0ca487abb3bdf581851664b5db21f364caf57682