{"id":"CVE-2026-143161","state":"PUBLISHED","title":"net/rds: Do not unpin a page after a failed atomic pin","description":"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.","publishedAt":"2026-12-03T09:20:00.439Z","updatedAt":"2026-12-03T09:20:00.439Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"9ce77a1c5c73e030efd8a43398e534c5894c5e70","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"f072db2546bb3743a4f36ca32ebabc1406366133","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"97128fda4c0799c43e8550c38e05c82c15ddc872","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"445b7f155136e7281b7d6113d6f47e3e684ec9e5","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"f4475b415a930fc820f7af62d0e68b2dc1f1a385","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"8d5ce4751fad9499ea408163af7f410f18a85782","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/rdma.c"]}],"references":["https://git.kernel.org/stable/c/9ce77a1c5c73e030efd8a43398e534c5894c5e70","https://git.kernel.org/stable/c/f072db2546bb3743a4f36ca32ebabc1406366133","https://git.kernel.org/stable/c/97128fda4c0799c43e8550c38e05c82c15ddc872","https://git.kernel.org/stable/c/445b7f155136e7281b7d6113d6f47e3e684ec9e5","https://git.kernel.org/stable/c/f4475b415a930fc820f7af62d0e68b2dc1f1a385","https://git.kernel.org/stable/c/8d5ce4751fad9499ea408163af7f410f18a85782"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143161.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143161","state":"PUBLISHED","datePublished":"2026-12-03T09:20:00.439Z","dateUpdated":"2026-12-03T09:20:00.439Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.356Z"},"containers":{"cna":{"title":"net/rds: Do not unpin a page after a failed atomic pin","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"9ce77a1c5c73e030efd8a43398e534c5894c5e70","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"f072db2546bb3743a4f36ca32ebabc1406366133","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"97128fda4c0799c43e8550c38e05c82c15ddc872","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"445b7f155136e7281b7d6113d6f47e3e684ec9e5","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"f4475b415a930fc820f7af62d0e68b2dc1f1a385","versionType":"git"},{"version":"15133f6e67d8d646d0744336b4daa3135452cb0d","status":"affected","lessThan":"8d5ce4751fad9499ea408163af7f410f18a85782","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/rdma.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9ce77a1c5c73e030efd8a43398e534c5894c5e70"},{"url":"https://git.kernel.org/stable/c/f072db2546bb3743a4f36ca32ebabc1406366133"},{"url":"https://git.kernel.org/stable/c/97128fda4c0799c43e8550c38e05c82c15ddc872"},{"url":"https://git.kernel.org/stable/c/445b7f155136e7281b7d6113d6f47e3e684ec9e5"},{"url":"https://git.kernel.org/stable/c/f4475b415a930fc820f7af62d0e68b2dc1f1a385"},{"url":"https://git.kernel.org/stable/c/8d5ce4751fad9499ea408163af7f410f18a85782"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:00.439Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}