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

In the Linux kernel, the following vulnerability has been resolved: net/rds: Do not unpin a page after a failed atomic pin rds_cmsg_atomic() assumes that a non-NULL output from rds_pin_pages() represents a pin that it owns. However, pin_user_pages_fast() can roll back a fast-GUP pin after racing fork() and then fail in the slow path, for example after a concurrent mprotect(PROT_NONE). The output slot can still contain the already-unpinned page. The common error path calls unpin_user_page() 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 io_uring registered buffer. Clear page when rds_pin_pages() 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.

INFO

Published Date :

Dec. 3, 2026, 10:17 a.m.

Last Modified :

Dec. 3, 2026, 10:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-143161 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Resolve page unpinning logic in RDS to prevent use-after-free and page freeing errors.
  • Ensure pages are cleared after failed rds_pin_pages() calls.
  • Review error path logic for page handling.
  • Update Linux kernel to include the fix.
  • Apply vendor patches for affected RDS components.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-143161 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-143161 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143161 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-143161 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: net/rds: Do not unpin a page after a failed atomic pin rds_cmsg_atomic() assumes that a non-NULL output from rds_pin_pages() represents a pin that it owns. However, pin_user_pages_fast() can roll back a fast-GUP pin after racing fork() and then fail in the slow path, for example after a concurrent mprotect(PROT_NONE). The output slot can still contain the already-unpinned page. The common error path calls unpin_user_page() 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 io_uring registered buffer. Clear page when rds_pin_pages() 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143161.json">CVE-2026-143161</a>
    Added Reference https://git.kernel.org/stable/c/445b7f155136e7281b7d6113d6f47e3e684ec9e5
    Added Reference https://git.kernel.org/stable/c/8d5ce4751fad9499ea408163af7f410f18a85782
    Added Reference https://git.kernel.org/stable/c/97128fda4c0799c43e8550c38e05c82c15ddc872
    Added Reference https://git.kernel.org/stable/c/9ce77a1c5c73e030efd8a43398e534c5894c5e70
    Added Reference https://git.kernel.org/stable/c/f072db2546bb3743a4f36ca32ebabc1406366133
    Added Reference https://git.kernel.org/stable/c/f4475b415a930fc820f7af62d0e68b2dc1f1a385
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.