IB/mlx5: Properly support implicit ODP rereg_mr
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee914ef54a7e707453ecb43eb30fb0a5c6dd0d69, Kernel 5d02b9a2efd11d28d2a8feac7769686b1b871d9c, Kernel 94f7e50eb6b2ce7fbd9aeac1db22460d2013a3fb and 10 more.
In the Linux kernel, the following vulnerability has been resolved: IB/mlx5: Properly support implicit ODP rereg_mr Due to all the child mkeys in the implicit ODP configuration we cannot change anything in place for the parent mkey. Instead the whole thing needs to be rebuilt if any change is requested. If the user does not specify a translation then force the implicit values which will then fall through the logic into mlx5_ib_reg_user_mr() to allocate a completely new MR. Since implicit children were also touching the mr->pd, this removes another case where the access was racy.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ef3642c4f54d3493c92c71faf46139b2473bc532 <ee914ef54a7e707453ecb43eb30fb0a5c6dd0d69, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <5d02b9a2efd11d28d2a8feac7769686b1b871d9c, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <94f7e50eb6b2ce7fbd9aeac1db22460d2013a3fb, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <cbc9982c8573fb9e35040063aa78c8ebe768a1ff, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <d4f84bfa089fe71f775d25beb29303e844494c25, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <eb7cb798e563b3f3b3baeb9cc6f7455764267e50, >=ef3642c4f54d3493c92c71faf46139b2473bc532 <ee7a8335069150c3f1893a697ab30bbeca00d796, =5.11 | ee914ef54a7e707453ecb43eb30fb0a5c6dd0d69, 5d02b9a2efd11d28d2a8feac7769686b1b871d9c, 94f7e50eb6b2ce7fbd9aeac1db22460d2013a3fb, cbc9982c8573fb9e35040063aa78c8ebe768a1ff, d4f84bfa089fe71f775d25beb29303e844494c25, eb7cb798e563b3f3b3baeb9cc6f7455764267e50, ee7a8335069150c3f1893a697ab30bbeca00d796 |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.11.0 <5.15.212 | 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket