CVE 7.8 HIGH

net/rds: handle zerocopy send cleanup before the message is queued_CVE-2026-43502

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-43502
Source Linux
Published May 21, 2026 at 12:17
Modified May 30, 2026 at 10:45

Affected Product

Vendor Linux
Product Linux
Version 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Affected Versions Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3
Linux Linux 4.17

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.