CVE-2026-142828: net/rds: ib: don't enable IRQs in rds_ib_conn_free()
In the Linux kernel, the following vulnerability has been resolved:
net/rds: ib: don't enable IRQs in rdsibconnfree()
rdsconncreate() calls trans->connfree() with rdsconnlock held and IRQs disabled when it loses the race to insert a connection. rdsibconnfree() takes the device list lock with spinlockirq() and releases it with spinunlockirq(), so IRQs are turned on while rdsconnlock is still held:
rawlocalirqrestore() called with IRQs enabled WARNING: kernel/locking/irqflag-debug.c:10 at warnbogusirqrestore+0xc/0x20 rawspinunlockirqrestore+0x67/0x80 rdsconncreate+0x1de5/0x2290 rdsconncreateoutgoing+0x43/0x60 rdssendmsg+0xfca/0x20e0 syssendto+0x408/0x5a0
It needs an RDS socket bound to an address on an RDMA device (e.g. rxe) and two concurrent sendto() calls to the same new destination.
The TCP and loopback ->connfree() callbacks already use irqsave, so do the same here.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
Change rds_ib_conn_free() so it does not enable IRQs while rds_conn_lock is held.