RDMA/irdma: Prevent rereg_mr for non-mem regions
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fb46d134e1b8690bed2da9005b36d32d2efd34ac, Kernel b5029e91c63406e4f4c8d58161048b41b6f0bd8c, Kernel ca1c29f05274b737dc964e28b97803750d7cf7ec and 6 more.
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Prevent rereg_mr for non-mem regions When a QP/CQ/SRQ is created, a two step process is used where the buffer is allocated in userspace and explicitly registered with the normal reg_mr mechanism prior to creating the actual QP/CQ/SRQ object. These special registrations are indicated via an ABI field so the driver knows that they do not have a valid mkey and to skip the actual CQP command submission. Since these are real MR objects from the core's perspective, it is possible for a user application to invoke rereg_mr on them and cause a real CQP op to be emitted with the zero-initialized mkey value of 0. Fix this by preventing rereg_mr on these special regions.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=715fdb3b30541cc8180b7cdc6aa9f8c307afdf25 <fb46d134e1b8690bed2da9005b36d32d2efd34ac, >=5ac388db27c443dadfbb0b8b23fa7ccf429d901a <b5029e91c63406e4f4c8d58161048b41b6f0bd8c, >=5ac388db27c443dadfbb0b8b23fa7ccf429d901a <ca1c29f05274b737dc964e28b97803750d7cf7ec, >=5ac388db27c443dadfbb0b8b23fa7ccf429d901a <dbaa37e060918c45517786e37ecab0f300b48fa9, >=6.6.120 <6.6.148, =6.7, >=5ac388db27c443dadfbb0b8b23fa7ccf429d901a <a846aecb931b4d65d5eafa92a0623545af46d4f2 | fb46d134e1b8690bed2da9005b36d32d2efd34ac, b5029e91c63406e4f4c8d58161048b41b6f0bd8c, ca1c29f05274b737dc964e28b97803750d7cf7ec, dbaa37e060918c45517786e37ecab0f300b48fa9, 6.6.148, a846aecb931b4d65d5eafa92a0623545af46d4f2 |
| linux-kernel: Kernel | >=6.19.0 <7.1.6, >=6.6.120 <6.6.148, >=6.7.0 <6.12.101, >=6.13.0 <6.18.42 | 7.1.6, 6.6.148, 6.12.101, 6.18.42 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket