{"id":"CVE-2026-139575","state":"PUBLISHED","title":"RDMA/cxgb4: Do not allow userspace to write the status page","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: Do not allow userspace to write the status page\n\nThe device status page is shared by all userspace contexts and contains\ndb_off, which the driver updates to control doorbell flow. The rdma-core\nprovider maps it with PROT_READ, but c4iw_mmap() passes the requested page\nprotection through when handling CXGB4_MMAP_CONTIG.\n\nA process can therefore request PROT_WRITE directly or later upgrade a\nread-only mapping with mprotect() because VM_MAYWRITE remains set. This\nlets userspace alter device-wide flow-control state seen by the kernel and\nother contexts.\n\nReject initially writable mappings and clear VM_MAYWRITE before mapping the\npage. This preserves the existing read-only userspace ABI.","publishedAt":"2026-11-30T13:36:01.519Z","updatedAt":"2026-11-30T13:36:01.519Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"806eb9ea6cd6f69908b97bdda32ff56927e5592b","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"d323b6ad4c6971ee927229f94043af3900dfe621","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"8e6f5df89225d914faca3273696fcacc94862576","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"349902957e61e73c5955568cf61a055ee5a72edb","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"1c5335a6902639596a795705349da7f76027e103","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/cxgb4/provider.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","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/cxgb4/provider.c"]}],"references":["https://git.kernel.org/stable/c/806eb9ea6cd6f69908b97bdda32ff56927e5592b","https://git.kernel.org/stable/c/d323b6ad4c6971ee927229f94043af3900dfe621","https://git.kernel.org/stable/c/8e6f5df89225d914faca3273696fcacc94862576","https://git.kernel.org/stable/c/349902957e61e73c5955568cf61a055ee5a72edb","https://git.kernel.org/stable/c/1c5335a6902639596a795705349da7f76027e103"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139575.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139575","state":"PUBLISHED","datePublished":"2026-11-30T13:36:01.519Z","dateUpdated":"2026-11-30T13:36:01.519Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.941Z"},"containers":{"cna":{"title":"RDMA/cxgb4: Do not allow userspace to write the status page","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: Do not allow userspace to write the status page\n\nThe device status page is shared by all userspace contexts and contains\ndb_off, which the driver updates to control doorbell flow. The rdma-core\nprovider maps it with PROT_READ, but c4iw_mmap() passes the requested page\nprotection through when handling CXGB4_MMAP_CONTIG.\n\nA process can therefore request PROT_WRITE directly or later upgrade a\nread-only mapping with mprotect() because VM_MAYWRITE remains set. This\nlets userspace alter device-wide flow-control state seen by the kernel and\nother contexts.\n\nReject initially writable mappings and clear VM_MAYWRITE before mapping the\npage. This preserves the existing read-only userspace ABI."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"806eb9ea6cd6f69908b97bdda32ff56927e5592b","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"d323b6ad4c6971ee927229f94043af3900dfe621","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"8e6f5df89225d914faca3273696fcacc94862576","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"349902957e61e73c5955568cf61a055ee5a72edb","versionType":"git"},{"version":"05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8","status":"affected","lessThan":"1c5335a6902639596a795705349da7f76027e103","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/cxgb4/provider.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","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/cxgb4/provider.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/806eb9ea6cd6f69908b97bdda32ff56927e5592b"},{"url":"https://git.kernel.org/stable/c/d323b6ad4c6971ee927229f94043af3900dfe621"},{"url":"https://git.kernel.org/stable/c/8e6f5df89225d914faca3273696fcacc94862576"},{"url":"https://git.kernel.org/stable/c/349902957e61e73c5955568cf61a055ee5a72edb"},{"url":"https://git.kernel.org/stable/c/1c5335a6902639596a795705349da7f76027e103"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:01.519Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}