CVE-2026-43502

HIGH

net/rds: handle zerocopy send cleanup before the message is queued

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net/rds: handle zerocopy send cleanup before the message is queued A zerocopy send can fail after user pages have been pinned but before the message is attached to the sending socket. The purge path currently infers zerocopy state from rm->m_rs, so an unqueued message can be cleaned up as if it owned normal payload pages. However, zerocopy ownership is really determined by the presence of op_mmp_znotifier, regardless of whether the message has reached the socket queue. Capture op_mmp_znotifier up front in rds_message_purge() and use it as the cleanup discriminator. If the message is already associated with a socket, keep the existing completion path. Otherwise, drop the pinned page accounting directly and release the notifier before putting the payload pages. This keeps early send failure cleanup consistent with the zerocopy lifetime rules without changing the normal queued completion path.

Scores

CVSS v3 7.8
EPSS 0.0012
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

Status published
Products (28)
linux/Kernel 4.17.0 - 5.10.258linux
linux/Kernel 5.11.0 - 5.15.209linux
linux/Kernel 5.16.0 - 6.1.175linux
linux/Kernel 6.13.0 - 6.18.30linux
linux/Kernel 6.19.0 - 7.0.7linux
linux/Kernel 6.2.0 - 6.6.140linux
linux/Kernel 6.7.0 - 6.12.88linux
Linux/Linux < 4.17
Linux/Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 - 0f5c185fc79a59ee9991234dd6d2a3e5afa6e75b
Linux/Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 - 14ef6fd18db2494098b21e0471bf27a1d8e9993e
... and 18 more
Published May 21, 2026
Tracked Since May 21, 2026