KernelScan.io

CRITICAL

nfs-rdma PageOffset Overflow

CVE-2025-68811

CVSS 9.1 / 10.0 KernelScan AI

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

01

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)

02

Engine v0.2.0

Risk summary

Remote attackers can trigger kernel memory corruption in NFS-over-RDMA servers by sending malformed requests. This can lead to system crashes or potentially code execution in kernel context.

Affectednet/sunrpc/xprtrdma/svc_rdma_rw.c (NFS RDMA server)

Vulnerability analysis

The vulnerability occurs in svc_rdma_copy_inline_range() where rc_curpage (page index) was incorrectly used as a byte offset instead of rc_pageoff. This causes memcpy to write data to an incorrect offset within the destination page, and in certain cases (e.g., when rc_pageoff is 0 and rc_curpage is non-zero) can write a small bounded number of bytes past the page boundary into adjacent kernel memory. The bug was introduced during code refactoring that moved page tracking fields. The fix corrects the memcpy destination calculation to use the proper byte offset field. Attack surface is network-exposed NFS-over-RDMA services.

03

BranchFixed inPatch commit
6.126.12.64e8623e9c451e
6.186.18.32a77c8dd49bc
mainline6.19a8ee9099f306