Description
In the Linux kernel, the following vulnerability has been resolved:
net/rds: ib: don't enable IRQs in rds_ib_conn_free()
__rds_conn_create() calls trans->conn_free() with rds_conn_lock held and IRQs disabled when it loses the race to insert a connection. rds_ib_conn_free() takes the device list lock with spin_lock_irq() and releases it with spin_unlock_irq(), so IRQs are turned on while rds_conn_lock is still held:
raw_local_irq_restore() called with IRQs enabled WARNING: kernel/locking/irqflag-debug.c:10 at warn_bogus_irq_restore+0xc/0x20 _raw_spin_unlock_irqrestore+0x67/0x80 __rds_conn_create+0x1de5/0x2290 rds_conn_create_outgoing+0x43/0x60 rds_sendmsg+0xfca/0x20e0 __sys_sendto+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 ->conn_free() callbacks already use irqsave, so do the same here.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < 1fb977e7e1dc932129902a606f9f2e0c459714c7; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < ee22f05d7cbfac29e9d54de5f5f3df7dc0762319; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < f88adc86694d00dc497d27f2e67cb5d23a1a8af3; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < 6a847c72dca79866fdcf8aed60458cd2abe1aeeb; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < 9a99127122a216e79073259baa32681f299f5b2f; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < 80ee045485b98533c5732f417df19229e3794928; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < cae22ada1f145191866678c675eb511edc4ef4b5; >= 745cbccac3fe8cead529a1b3358e1e86a1505bfa, < f6fa1d60ec3ceb7e6c26aa91eadfef34f94014e1 |
| Linux | Linux | 2.6.30 |
References
- https://git.kernel.org/stable/c/1fb977e7e1dc932129902a606f9f2e0c459714c7
- https://git.kernel.org/stable/c/6a847c72dca79866fdcf8aed60458cd2abe1aeeb
- https://git.kernel.org/stable/c/80ee045485b98533c5732f417df19229e3794928
- https://git.kernel.org/stable/c/9a99127122a216e79073259baa32681f299f5b2f
- https://git.kernel.org/stable/c/cae22ada1f145191866678c675eb511edc4ef4b5
- https://git.kernel.org/stable/c/ee22f05d7cbfac29e9d54de5f5f3df7dc0762319
- https://git.kernel.org/stable/c/f6fa1d60ec3ceb7e6c26aa91eadfef34f94014e1
- https://git.kernel.org/stable/c/f88adc86694d00dc497d27f2e67cb5d23a1a8af3
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received