Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139575

RDMA/cxgb4: Do not allow userspace to write the status page

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Do not allow userspace to write the status page The device status page is shared by all userspace contexts and contains db_off, which the driver updates to control doorbell flow. The rdma-core provider maps it with PROT_READ, but c4iw_mmap() passes the requested page protection through when handling CXGB4_MMAP_CONTIG. A process can therefore request PROT_WRITE directly or later upgrade a read-only mapping with mprotect() because VM_MAYWRITE remains set. This lets userspace alter device-wide flow-control state seen by the kernel and other contexts. Reject initially writable mappings and clear VM_MAYWRITE before mapping the page. This preserves the existing read-only userspace ABI.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 806eb9ea6cd6f69908b97bdda32ff56927e5592baffected
  • 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < d323b6ad4c6971ee927229f94043af3900dfe621affected
  • 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 8e6f5df89225d914faca3273696fcacc94862576affected
  • 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 349902957e61e73c5955568cf61a055ee5a72edbaffected
  • 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 1c5335a6902639596a795705349da7f76027e103affected

Linux Linux

Default version status: affected

  • 3.15affected
  • 0 to < 3.15unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References