CVE 7.8 HIGH

net/rds: reset op_nents when zerocopy page pin fails_CVE-2026-43494

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

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().

Basic Information

ID CVE-2026-43494
Source Linux
Published May 21, 2026 at 10:49
Modified May 30, 2026 at 10:45

Affected Product

Vendor Linux
Product Linux
Version 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Affected Versions Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 4.17

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.