{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "15133f6e67d8d646d0744336b4daa3135452cb0d"
            },
            {
              "fixed": "9ce77a1c5c73e030efd8a43398e534c5894c5e70"
            },
            {
              "fixed": "f072db2546bb3743a4f36ca32ebabc1406366133"
            },
            {
              "fixed": "97128fda4c0799c43e8550c38e05c82c15ddc872"
            },
            {
              "fixed": "445b7f155136e7281b7d6113d6f47e3e684ec9e5"
            },
            {
              "fixed": "f4475b415a930fc820f7af62d0e68b2dc1f1a385"
            },
            {
              "fixed": "8d5ce4751fad9499ea408163af7f410f18a85782"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.37"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143161.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: Do not unpin a page after a failed atomic pin\n\nrds_cmsg_atomic() assumes that a non-NULL output from rds_pin_pages()\nrepresents a pin that it owns. However, pin_user_pages_fast() can roll\nback a fast-GUP pin after racing fork() and then fail in the slow path,\nfor example after a concurrent mprotect(PROT_NONE). The output slot can\nstill contain the already-unpinned page.\n\nThe common error path calls unpin_user_page() on that stale pointer.\nThis can consume another subsystem's pin and allow the page to be freed\nwhile it is still in use. A local unprivileged reproducer triggers a\nKASAN use-after-free write through an io_uring registered buffer.\n\nClear page when rds_pin_pages() does not return one. The error path\ncontinues to release the page on errors after a successful pin, and\nsuccessful requests retain their existing ownership and behavior. All\nfour RDS atomic ancillary operations share this path.\n\nThe issue was found by an LLM.",
  "id": "CVE-2026-143161",
  "modified": "2026-12-03T10:45:41.058363167Z",
  "published": "2026-12-03T09:20:00.439Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/445b7f155136e7281b7d6113d6f47e3e684ec9e5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d5ce4751fad9499ea408163af7f410f18a85782"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/97128fda4c0799c43e8550c38e05c82c15ddc872"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9ce77a1c5c73e030efd8a43398e534c5894c5e70"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f072db2546bb3743a4f36ca32ebabc1406366133"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f4475b415a930fc820f7af62d0e68b2dc1f1a385"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143161.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143161"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/rds: Do not unpin a page after a failed atomic pin"
}