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 < 806eb9ea6cd6f69908b97bdda32ff56927e5592baffected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < d323b6ad4c6971ee927229f94043af3900dfe621affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 8e6f5df89225d914faca3273696fcacc94862576affected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 349902957e61e73c5955568cf61a055ee5a72edbaffected05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8 to < 1c5335a6902639596a795705349da7f76027e103affected
Linux Linux
Default version status: affected
3.15affected0 to < 3.15unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗