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

net/rds: reset op_nents when zerocopy page pin fails

When iov_iter_get_pages2() fails in rds_message_zcopy_from_user(),
the pinned pages are released with put_page(), and
rm->data.op_mmp_znotifier is cleared. But we fail to properly
clear rm->data.op_nents.

Later when rds_message_purge() is called from rds_sendmsg() the
cleanup loop iterates over the incorrectly non zero number of
op_nents and frees them again.

Fix this by properly resetting op_nents when it should be in
rds_message_zcopy_from_user().
Published: 2026-05-21
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel fails to reset the op_nents counter when a zerocopy page pinning operation fails. This omission causes the subsequent cleanup routine to iterate over a count that is incorrectly non‑zero, freeing memory pages that were already released. The double free can corrupt kernel memory, potentially leading to instability or other unintended behavior. This is a kernel memory corruption vulnerability.

Affected Systems

All Linux kernel builds that include the RDS subsystem but do not contain the patch that resets op_nents are affected. No specific version range is provided, so any kernel that compiles RDS without the fix may be vulnerable.

Risk and Exploitability

The EPSS score is under 1%, and the vulnerability is not listed in the CISA KEV catalog, indicating no publicly documented exploitation. The CVSS score of 7.8 reflects the potential impact of kernel memory corruption. The description does not specify an attack vector, so the exact path of exploitation remains unclear.

Generated by OpenCVE AI on May 30, 2026 at 13:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that resets op_nents when zerocopy page pin fails (commit c/e1749297 from the Linux kernel source).
  • Reboot the system so that the updated kernel image is used.
  • If the RDS subsystem is not required, disable the module to remove the vulnerable code from memory.

Generated by OpenCVE AI on May 30, 2026 at 13:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6305-1 linux security update
Ubuntu USN Ubuntu USN USN-8370-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8371-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8373-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8374-1 Linux kernel vulnerabilities
History

Mon, 01 Jun 2026 17:00:00 +0000


Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 23 May 2026 11:45:00 +0000


Fri, 22 May 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-795

Fri, 22 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 21 May 2026 16:30:00 +0000

Type Values Removed Values Added
References

Thu, 21 May 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-795

Thu, 21 May 2026 11:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/rds: reset op_nents when zerocopy page pin fails When iov_iter_get_pages2() fails in rds_message_zcopy_from_user(), the pinned pages are released with put_page(), and rm->data.op_mmp_znotifier is cleared. But we fail to properly clear rm->data.op_nents. Later when rds_message_purge() is called from rds_sendmsg() the cleanup loop iterates over the incorrectly non zero number of op_nents and frees them again. Fix this by properly resetting op_nents when it should be in rds_message_zcopy_from_user().
Title net/rds: reset op_nents when zerocopy page pin fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-01T16:15:54.326Z

Reserved: 2026-05-01T14:12:56.013Z

Link: CVE-2026-43494

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-21T12:16:19.957

Modified: 2026-06-01T17:17:05.383

Link: CVE-2026-43494

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-21T00:00:00Z

Links: CVE-2026-43494 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T13:15:24Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle