CVE-2026-43494

net/rds: reset op_nents when zerocopy page pin fails

Published May 21, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 October 23, 2026 at 01:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4664-1 linux security update
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
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
Ubuntu USN Ubuntu USN USN-8426-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8426-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8440-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8497-1 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-8499-1 Linux kernel (Xilinx) vulnerabilities
Ubuntu USN Ubuntu USN USN-8528-1 Linux kernel (Xilinx ZynqMP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8616-1 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8388-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8388-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8389-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8391-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8392-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8393-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8461-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8462-1 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-415
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Type Values Removed Values Added
Weaknesses CWE-416
CWE-795
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

Type Values Removed Values Added
Weaknesses CWE-416
CWE-795
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 7:26 PM
Reserved
May 1, 2026, 2:12 PM
Status
Modified
Published
May 21, 2026, 12:16 PM
Modified
Oct 19, 2026, 8:18 PM
Severity
Important
Public date
May 21, 2026, 12:00 AM