Linux
net/rds: reset op_nents when zerocopy page pin fails
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < c6e51512a784c4a7b86e1a044988696e3b3721fa
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < 03014551938a0887fa55f18ce49b70158a9c0113
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < d84ce1786ce40fdd3dd98db47aec5527817e1ef6
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < 9115669faedccdda100428e2d26fd0aac8c50799
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < 0bbbff00a15b1df2cac9014d6cf4b6890f473353
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < 640e37f58f991546a87540d067279c2c1fa9fe51
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < 290e833d1acb1093bc121fcdc97f5e6161157479
- >= 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3, < e174929793195e0cd6a4adb0cad731b39f9019b4
Fixed in c6e51512a784c4a7b86e1a044988696e3b3721fa, 03014551938a0887fa55f18ce49b70158a9c0113, d84ce1786ce40fdd3dd98db47aec5527817e1ef6, 9115669faedccdda100428e2d26fd0aac8c50799, 0bbbff00a15b1df2cac9014d6cf4b6890f473353, 640e37f58f991546a87540d067279c2c1fa9fe51, 290e833d1acb1093bc121fcdc97f5e6161157479, e174929793195e0cd6a4adb0cad731b39f9019b4
- 4.17
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to c6e51512a784c4a7b86e1a044988696e3b3721fa or 03014551938a0887fa55f18ce49b70158a9c0113 or d84ce1786ce40fdd3dd98db47aec5527817e1ef6 or 9115669faedccdda100428e2d26fd0aac8c50799 or 0bbbff00a15b1df2cac9014d6cf4b6890f473353 or 640e37f58f991546a87540d067279c2c1fa9fe51 or 290e833d1acb1093bc121fcdc97f5e6161157479 or e174929793195e0cd6a4adb0cad731b39f9019b4 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; not in CISA KEV. First PoC: 0xBlackash/CVE-2026-43494 (created 22 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.6 PoCs · 3 pending
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xBlackash/CVE-2026-43494 | 22 May 2026 +1.4 d | 2 | PoC |
| 0xredash/CVE-2026-43494 | 22 May 2026 +1.4 d | 2 | PoC |
| ashrafzaryouh/CVE-2026-43494 | 22 May 2026 +1.4 d | 2 | PoC |
| jayhutajulu1/CVE-2026-43494-PinTheft-PoC | 25 May 2026 +3.9 d | 1 | PoC |
| tanzz1337/CVE-2026-43494-PinTheft-PoC | 25 May 2026 +4 d | 0 | PoC |
| letsr00t/CVE-2026-43494-PinTheft-PoC | 30 May 2026 +9 d | 1 | PoC |
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| suominen/pintheft | 20 May 2026 −1.1 d | 0 | Pending · mkdir /quarantine/suominen__pintheft-06970544d99f: permission denied |
| Kagantua/PinTheft-go | 22 May 2026 +1.5 d | 0 | Pending · mkdir /quarantine/Kagantua__PinTheft-go-58616633d6d2: permission denied |
| Koshmare-Blossom/PinTheft-asm | 28 May 2026 +6.9 d | 1 | Pending · mkdir /quarantine/Koshmare-Blossom__PinTheft-asm-10c8bf587d27: permission denied
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.