Ka-Cheong Poon
c5c1a030a7
net/rds: An rds_sock is added too early to the hash table
...
In rds_bind(), an rds_sock is added to the RDS bind hash table before
rs_transport is set. This means that the socket can be found by the
receive code path when rs_transport is NULL. And the receive code
path de-references rs_transport for congestion update check. This can
cause a panic. An rds_sock should not be added to the bind hash table
before all the needed fields are set.
Reported-by: syzbot+4b4f8163c2e246df3c4c@syzkaller.appspotmail.com
Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-11 15:05:40 +01:00
..
af_rds.c
net/rds: Check address length before reading address family
2019-04-12 10:25:03 -07:00
bind.c
net/rds: An rds_sock is added too early to the hash table
2019-09-11 15:05:40 +01:00
cong.c
connection.c
rds: Return proper "tos" value to user-space
2019-07-09 21:45:42 -07:00
ib.c
net: rds: add service level support in rds-info
2019-08-24 16:55:25 -07:00
ib.h
net: rds: add service level support in rds-info
2019-08-24 16:55:25 -07:00
ib_cm.c
net: rds: add service level support in rds-info
2019-08-24 16:55:25 -07:00
ib_fmr.c
net: rds: exchange of 8K and 1M pool
2019-04-24 12:07:08 -07:00
ib_frmr.c
net/rds: Keep track of and wait for FRWR segments in use upon shutdown
2019-07-17 12:06:52 -07:00
ib_mr.h
net/rds: Wait for the FRMR_IS_FREE (or FRMR_IS_STALE) transition after posting IB_WR_LOCAL_INV
2019-07-17 12:06:52 -07:00
ib_rdma.c
net/rds: Fix NULL/ERR_PTR inconsistency
2019-07-17 12:06:52 -07:00
ib_recv.c
net: rds: fix memory leak when unload rds_rdma
2019-06-05 17:08:14 -07:00
ib_ring.c
ib_send.c
rds: fix reordering with composite message notification
2019-07-09 21:45:41 -07:00
ib_stats.c
ib_sysctl.c
info.c
mm/gup: change GUP fast to use flags rather than a write 'bool'
2019-05-14 09:47:46 -07:00
info.h
Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
loop.c
loop.h
Makefile
message.c
page.c
rdma.c
rds: fix reordering with composite message notification
2019-07-09 21:45:41 -07:00
rdma_transport.c
net: rds: add service level support in rds-info
2019-08-24 16:55:25 -07:00
rdma_transport.h
rds.h
rds: fix reordering with composite message notification
2019-07-09 21:45:41 -07:00
rds_single_path.h
recv.c
net/rds: Fix info leak in rds6_inc_info_copy()
2019-08-27 20:56:06 -07:00
send.c
rds: fix reordering with composite message notification
2019-07-09 21:45:41 -07:00
stats.c
sysctl.c
tcp.c
net: rds: fix spelling mistake "syctl" -> "sysctl"
2019-05-05 10:19:43 -07:00
tcp.h
tcp_connect.c
tcp_listen.c
tcp_recv.c
tcp_send.c
tcp_stats.c
threads.c
transport.c