CVE-2026-43502

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

State
Published
Severity
7.8 High
Published
May 21, 2026
Updated
Oct 15, 2026
Reserved
May 1, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before e9aefdc5c53fe9aed108c14e3d155710a1bb14c9Affected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 46662f7dc59475995609bf3e9d27eb36f4acf26fAffected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 1e262db7675e27f42c3f3f47d6011855f4454f24Affected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 21d70744e6d3bbf9293aa1ee6fba7c53ad75275eAffected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 3abc8983b2bae3f487f77d9da5527d7d6b210d46Affected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 14ef6fd18db2494098b21e0471bf27a1d8e9993eAffected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 0f5c185fc79a59ee9991234dd6d2a3e5afa6e75bAffected
  • 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 to before 44b550d88b267320459d518c0743a241ab2108faAffected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.30 through 6.18.*Not affected
  • 7.0.7 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.