GHSA-m5w6-2mrp-4227HighCVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: net/rds: reset op_nents when...
🔗 CVE IDs covered (1)
📋 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().
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-43494
- https://git.kernel.org/stable/c/e174929793195e0cd6a4adb0cad731b39f9019b4
- http://www.openwall.com/lists/oss-security/2026/05/21/2
- https://git.kernel.org/stable/c/0bbbff00a15b1df2cac9014d6cf4b6890f473353
- https://git.kernel.org/stable/c/290e833d1acb1093bc121fcdc97f5e6161157479
- https://git.kernel.org/stable/c/640e37f58f991546a87540d067279c2c1fa9fe51
- https://git.kernel.org/stable/c/9115669faedccdda100428e2d26fd0aac8c50799
- https://github.com/advisories/GHSA-m5w6-2mrp-4227