Description
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 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
3b12f73a5c2977153f28a224392fd4729b50d1dc to < 66cccec111421a10efdc2c74499d15b93e7acae5affected3b12f73a5c2977153f28a224392fd4729b50d1dc to < 2c5e5e4a5970c41f16e3ad801a78719ed5d5c71baffected3b12f73a5c2977153f28a224392fd4729b50d1dc to < 29d940026dce39e3018dab6f67c9427249321270affected3b12f73a5c2977153f28a224392fd4729b50d1dc to < e7cf30aa5f1fc6c2a86df65df8b731df20e44d79affected3b12f73a5c2977153f28a224392fd4729b50d1dc to < f16ad421a4e3e7db2d14bdf3b16f583bc4f3b30aaffected3b12f73a5c2977153f28a224392fd4729b50d1dc to < 1d4ec754ee3871f7e3670c67bb0298c9c5760926affected3b12f73a5c2977153f28a224392fd4729b50d1dc to < 27040bbca289a704eafcacca167d310c6ce2b1bcaffected3b12f73a5c2977153f28a224392fd4729b50d1dc to < 20cf0fb715c41111469577e85e35d15f099473e0affected75a12b2fa80c2e4cc40a9f9305f95899850b7426affectedc9459693fae9a1bf3f51f3db98617f694112e897affected13099ee9c7d54b0a25f6c8397675aed99e9cfa45affected5c6712ab4efb6cf60e16719ab6bcaface9cc268caffected3.18.74 to < 3.19affected4.1.46 to < 4.2affected4.4.91 to < 4.5affected4.9.54 to < 4.10affected
Linux Linux
Default version status: affected
4.11affected0 to < 4.11unaffected5.10.259 to ≤ 5.10.*unaffected5.15.210 to ≤ 5.15.*unaffected6.1.176 to ≤ 6.1.*unaffected6.6.143 to ≤ 6.6.*unaffected6.12.94 to ≤ 6.12.*unaffected6.18.36 to ≤ 6.18.*unaffected7.0.13 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/66cccec111421a10efdc2c74499d15b93e7acae5 ↗
- https://git.kernel.org/stable/c/2c5e5e4a5970c41f16e3ad801a78719ed5d5c71b ↗
- https://git.kernel.org/stable/c/29d940026dce39e3018dab6f67c9427249321270 ↗
- https://git.kernel.org/stable/c/e7cf30aa5f1fc6c2a86df65df8b731df20e44d79 ↗
- https://git.kernel.org/stable/c/f16ad421a4e3e7db2d14bdf3b16f583bc4f3b30a ↗
- https://git.kernel.org/stable/c/1d4ec754ee3871f7e3670c67bb0298c9c5760926 ↗
- https://git.kernel.org/stable/c/27040bbca289a704eafcacca167d310c6ce2b1bc ↗
- https://git.kernel.org/stable/c/20cf0fb715c41111469577e85e35d15f099473e0 ↗