{"id":"CVE-2026-139597","state":"PUBLISHED","title":"RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access\n\npvrdma embeds a pvrdma_ring_state header directly inside the QP and SRQ\nring buffers, and the hypervisor writes cons_head into that header.\nPinning with access=0 does not force a private page copy (no\nFOLL_WRITE), so the hypervisor may write into a shared page.\n\nPass IB_ACCESS_LOCAL_WRITE for all three rings. The SRQ ring_state is\nnot currently used by the driver but is pinned writable for consistency.","publishedAt":"2026-11-30T13:36:13.476Z","updatedAt":"2026-11-30T13:36:13.476Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"369ad245eefb949a23b82f7010648d7e1f2a768a","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"153910941c06e0ece5adc82742d195193d74d78c","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"8b0abb85ef0662323f4f35ad859120658a6538f5","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"89abac4b60b708037595255ea2614b6967c86ee5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c","drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","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.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c","drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c"]}],"references":["https://git.kernel.org/stable/c/369ad245eefb949a23b82f7010648d7e1f2a768a","https://git.kernel.org/stable/c/153910941c06e0ece5adc82742d195193d74d78c","https://git.kernel.org/stable/c/8b0abb85ef0662323f4f35ad859120658a6538f5","https://git.kernel.org/stable/c/89abac4b60b708037595255ea2614b6967c86ee5"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139597.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139597","state":"PUBLISHED","datePublished":"2026-11-30T13:36:13.476Z","dateUpdated":"2026-11-30T13:36:13.476Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.942Z"},"containers":{"cna":{"title":"RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access\n\npvrdma embeds a pvrdma_ring_state header directly inside the QP and SRQ\nring buffers, and the hypervisor writes cons_head into that header.\nPinning with access=0 does not force a private page copy (no\nFOLL_WRITE), so the hypervisor may write into a shared page.\n\nPass IB_ACCESS_LOCAL_WRITE for all three rings. The SRQ ring_state is\nnot currently used by the driver but is pinned writable for consistency."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"369ad245eefb949a23b82f7010648d7e1f2a768a","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"153910941c06e0ece5adc82742d195193d74d78c","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"8b0abb85ef0662323f4f35ad859120658a6538f5","versionType":"git"},{"version":"29c8d9eba550c6d73d17cc1618a9f5f2a7345aa1","status":"affected","lessThan":"89abac4b60b708037595255ea2614b6967c86ee5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c","drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","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.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c","drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/369ad245eefb949a23b82f7010648d7e1f2a768a"},{"url":"https://git.kernel.org/stable/c/153910941c06e0ece5adc82742d195193d74d78c"},{"url":"https://git.kernel.org/stable/c/8b0abb85ef0662323f4f35ad859120658a6538f5"},{"url":"https://git.kernel.org/stable/c/89abac4b60b708037595255ea2614b6967c86ee5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:13.476Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}