RDMA/cxgb4: Do not allow userspace to write the status page
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to before 806eb9ea6cd6f69908b97bdda32ff56927e5592b Affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to before d323b6ad4c6971ee927229f94043af3900dfe621 Affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to before 8e6f5df89225d914faca3273696fcacc94862576 Affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to before 349902957e61e73c5955568cf61a055ee5a72edb Affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to before 1c5335a6902639596a795705349da7f76027e103 Affected |
| Linux Linux | 3.15 Affectedbefore 3.15 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.