AZL-118232: CVE-2026-143161 affecting package kernel 6.6.161.1-1

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

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In net/rds, do not call unpin_user_page() for a page when the atomic pin failed; only release a page whose pin is owned by the caller.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this issue?

A local unprivileged user can trigger the issue. Exploitation requires access to the affected system and use of the RDS atomic ancillary-operation path.

2

What conditions are needed to trigger the vulnerable error path?

The problem occurs when a fast user-page pin is rolled back after racing with fork(), followed by failure in the slow path, such as when another thread concurrently changes the memory protection to PROT_NONE. The stale page pointer may then be unpinned again.

3

What is the impact of the stale unpin?

The extra unpin can consume a pin held by another subsystem, allowing a page to be freed while it is still in use. A reported local reproducer caused a KASAN use-after-free write through an io_uring registered buffer.

4

Which RDS functionality is affected?

All four RDS atomic ancillary operations share the affected path. Successful requests retain their existing page-ownership behavior; the issue is in error handling after an unsuccessful pin attempt.

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