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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < c6e51512a784c4a7b86e1a044988696e3b3721faaffected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < 03014551938a0887fa55f18ce49b70158a9c0113affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < d84ce1786ce40fdd3dd98db47aec5527817e1ef6affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < 9115669faedccdda100428e2d26fd0aac8c50799affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < 0bbbff00a15b1df2cac9014d6cf4b6890f473353affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < 640e37f58f991546a87540d067279c2c1fa9fe51affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < 290e833d1acb1093bc121fcdc97f5e6161157479affected0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to < e174929793195e0cd6a4adb0cad731b39f9019b4affected
Linux Linux
Default version status: affected
4.17affected0 to < 4.17unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c6e51512a784c4a7b86e1a044988696e3b3721fa ↗
- https://git.kernel.org/stable/c/03014551938a0887fa55f18ce49b70158a9c0113 ↗
- https://git.kernel.org/stable/c/d84ce1786ce40fdd3dd98db47aec5527817e1ef6 ↗
- https://git.kernel.org/stable/c/9115669faedccdda100428e2d26fd0aac8c50799 ↗
- https://git.kernel.org/stable/c/0bbbff00a15b1df2cac9014d6cf4b6890f473353 ↗
- https://git.kernel.org/stable/c/640e37f58f991546a87540d067279c2c1fa9fe51 ↗
- https://git.kernel.org/stable/c/290e833d1acb1093bc121fcdc97f5e6161157479 ↗
- https://git.kernel.org/stable/c/e174929793195e0cd6a4adb0cad731b39f9019b4 ↗
- https://github.com/v12-security/pocs/tree/main/pintheft ↗
- http://www.openwall.com/lists/oss-security/2026/05/21/2 ↗
- https://access.redhat.com/security/cve/CVE-2026-43494 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2480434 ↗
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43494.json ↗