]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/rds: Restrict use of RDS/IB to the initial network namespace
authorGreg Jumper <greg.jumper@oracle.com>
Wed, 8 Apr 2026 08:04:20 +0000 (01:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 20:33:19 +0000 (13:33 -0700)
commitebf71dd4aff46e8e421d455db3e231ba43d2fa8a
tree1275e335808d33c752cdd2394af19f36facdddc9
parent236f718ac885965fa886440b9898dfae185c9733
net/rds: Restrict use of RDS/IB to the initial network namespace

Prevent using RDS/IB in network namespaces other than the initial one.
The existing RDS/IB code will not work properly in non-initial network
namespaces.

Fixes: d5a8ac28a7ff ("RDS-TCP: Make RDS-TCP work correctly when it is set up in a netns other than init_net")
Reported-by: syzbot+da8e060735ae02c8f3d1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=da8e060735ae02c8f3d1
Signed-off-by: Greg Jumper <greg.jumper@oracle.com>
Signed-off-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260408080420.540032-3-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/af_rds.c
net/rds/ib.c