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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.258, 5.15.209, 6.1.175, 6.12.91, 6.18.33, 6.6.141, 7.0.10
- CVEs
- CVE-2026-43494
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:12 UTC · Revision 1
Source evidence
net/rds: reset op_nents when zerocopy page pin fails
core-osv · Original sourcePublished 21 May 2026, 10:49 UTC
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().
osv:CVE-2026-43494
Kernel
Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10
Complete source record
{
"id": "d12088a48005dda2c2f405c3f9bc2e3a9272805b7e0c11f5b298050a65e00325",
"url": "https://osv.dev/vulnerability/CVE-2026-43494",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net/rds: reset op_nents when zerocopy page pin fails",
"summary": "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().",
"evidence": "osv:CVE-2026-43494",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.209",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.141",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.91",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.33",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-43494",
"aliases": [
"CVE-2026-43494"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3"
},
{
"fixed": "c6e51512a784c4a7b86e1a044988696e3b3721fa"
},
{
"fixed": "03014551938a0887fa55f18ce49b70158a9c0113"
},
{
"fixed": "d84ce1786ce40fdd3dd98db47aec5527817e1ef6"
},
{
"fixed": "9115669faedccdda100428e2d26fd0aac8c50799"
},
{
"fixed": "0bbbff00a15b1df2cac9014d6cf4b6890f473353"
},
{
"fixed": "640e37f58f991546a87540d067279c2c1fa9fe51"
},
{
"fixed": "290e833d1acb1093bc121fcdc97f5e6161157479"
},
{
"fixed": "e174929793195e0cd6a4adb0cad731b39f9019b4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43494.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.17.0"
},
{
"fixed": "5.10.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.209"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.175"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.141"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.91"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.33"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43494.json"
}
}
],
"modified": "2026-10-28T02:30:23.157918167Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/03014551938a0887fa55f18ce49b70158a9c0113",
"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://git.kernel.org/stable/c/c6e51512a784c4a7b86e1a044988696e3b3721fa",
"https://git.kernel.org/stable/c/d84ce1786ce40fdd3dd98db47aec5527817e1ef6",
"https://git.kernel.org/stable/c/e174929793195e0cd6a4adb0cad731b39f9019b4",
"https://github.com/v12-security/pocs/tree/main/pintheft",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43494.json",
"https://access.redhat.com/security/cve/CVE-2026-43494",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43494.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-43494",
"https://bugzilla.redhat.com/show_bug.cgi?id=2480434",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43494.json"
}
},
"related_cves": [
{
"value": "CVE-2026-43494",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489701,
"published_at": "2026-05-21T10:49:21.31+00:00"
}