CVE-2026-143161: net/rds: Do not unpin a page after a failed atomic pin

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/rds: Do not unpin a page after a failed atomic pin

rdscmsgatomic() assumes that a non-NULL output from rdspinpages() represents a pin that it owns. However, pinuserpagesfast() can roll back a fast-GUP pin after racing fork() and then fail in the slow path, for example after a concurrent mprotect(PROTNONE). The output slot can still contain the already-unpinned page.

The common error path calls unpinuserpage() on that stale pointer. This can consume another subsystem's pin and allow the page to be freed while it is still in use. A local unprivileged reproducer triggers a KASAN use-after-free write through an iouring registered buffer.

Clear page when rdspinpages() does not return one. The error path continues to release the page on errors after a successful pin, and successful requests retain their existing ownership and behavior. All four RDS atomic ancillary operations share this path.

The issue was found by an LLM.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.37<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Who can trigger this issue?

A local unprivileged user can trigger it. Exploitation depends on a race involving RDS page pinning, such as fork() racing with pinning followed by a concurrent mprotect(PROT_NONE) transition.

2

Which functionality is affected?

All four RDS atomic ancillary operations share the affected path. The problem occurs when page pinning fails after a fast pin has been rolled back, leaving a stale page pointer for the error path.

3

What is the security impact of a successful trigger?

The stale pointer can cause an extra unpin of a page no longer owned by RDS, potentially consuming another subsystem's pin. This can allow the page to be freed while still in use, resulting in a use-after-free; the reported reproducer produced a KASAN use-after-free write through an io_uring registered buffer.

4

What should be changed to remediate the issue?

Use a kernel containing the fix that clears the page output when rds_pin_pages() does not return a page. The referenced stable commits contain the resolved change.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203