CVE-2025-68811: svcrdma: use rc_pageoff for memcpy byte offset
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
svcrdma: use rc_pageoff for memcpy byte offset
svc_rdma_copy_inline_range added rc_curpage (page index) to the page base instead of the byte offset rc_pageoff. Use rc_pageoff so copies land within the current page.
Found by ZeroPath (https://zeropath.com)
The Linux kernel CVE team has assigned CVE-2025-68811 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit 8e122582680c6f8acd686a5a2af9c0e46fe90f2d and fixed in 6.12.64 with commit e8623e9c451e23d84b870811f42fd872b4089ef6 Issue introduced in 6.8 with commit 8e122582680c6f8acd686a5a2af9c0e46fe90f2d and fixed in 6.18.3 with commit 2a77c8dd49bccf0ca232be7c836cec1209abb8da Issue introduced in 6.8 with commit 8e122582680c6f8acd686a5a2af9c0e46fe90f2d and fixed in 6.19-rc3 with commit a8ee9099f30654917aa68f55d707b5627e1dbf77
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-2025-68811
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_rw.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/e8623e9c451e23d84b870811f42fd872b4089ef6 https://git.kernel.org/stable/c/2a77c8dd49bccf0ca232be7c836cec1209abb8da https://git.kernel.org/stable/c/a8ee9099f30654917aa68f55d707b5627e1dbf77