net: rds: clear i_sends on setup unwind
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.10, Kernel 3.19, Kernel 1d4ec754ee3871f7e3670c67bb0298c9c5760926 and 16 more.
In the Linux kernel, the following vulnerability has been resolved: net: rds: clear i_sends on setup unwind The RDS IB connection teardown path is written so it can run during partial startup and on repeated shutdown attempts. It uses NULL pointers to distinguish resources that are still owned from resources that have already been released. When rds_ib_setup_qp() fails after allocating i_sends but before allocating i_recvs, the sends_out path frees i_sends without clearing the pointer. A later shutdown pass can still treat that stale pointer as a live send ring allocation. Clear i_sends after vfree() in the error unwind path so the existing shutdown logic continues to use the correct ownership state.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.9.54 <4.10, >=3.18.74 <3.19, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <1d4ec754ee3871f7e3670c67bb0298c9c5760926, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <20cf0fb715c41111469577e85e35d15f099473e0, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <27040bbca289a704eafcacca167d310c6ce2b1bc, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <29d940026dce39e3018dab6f67c9427249321270, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <2c5e5e4a5970c41f16e3ad801a78719ed5d5c71b, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <66cccec111421a10efdc2c74499d15b93e7acae5, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <e7cf30aa5f1fc6c2a86df65df8b731df20e44d79, >=3b12f73a5c2977153f28a224392fd4729b50d1dc <f16ad421a4e3e7db2d14bdf3b16f583bc4f3b30a, >=4.1.46 <4.2, >=4.4.91 <4.5, =13099ee9c7d54b0a25f6c8397675aed99e9cfa45, =4.11, =5c6712ab4efb6cf60e16719ab6bcaface9cc268c, =75a12b2fa80c2e4cc40a9f9305f95899850b7426, =c9459693fae9a1bf3f51f3db98617f694112e897 | 4.10, 3.19, 1d4ec754ee3871f7e3670c67bb0298c9c5760926, 20cf0fb715c41111469577e85e35d15f099473e0, 27040bbca289a704eafcacca167d310c6ce2b1bc, 29d940026dce39e3018dab6f67c9427249321270, 2c5e5e4a5970c41f16e3ad801a78719ed5d5c71b, 66cccec111421a10efdc2c74499d15b93e7acae5, e7cf30aa5f1fc6c2a86df65df8b731df20e44d79, f16ad421a4e3e7db2d14bdf3b16f583bc4f3b30a, 4.2, 4.5 |
| linux-kernel: Kernel | >=4.1.46 <4.2, >=4.11.0 <5.10.259, >=4.4.91 <4.5, >=4.9.54 <4.10, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.143, >=6.7.0 <6.12.94, >=3.18.74 <3.19 | 4.2, 5.10.259, 4.5, 4.10, 5.15.210, 6.1.176, 6.18.36, 7.0.13, 6.6.143, 6.12.94, 3.19 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket