summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>2019-09-24 08:51:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-01 08:26:13 +0200
commitfc3d296491f4ffd91fee6efbbba37832a59f9bf0 (patch)
treea4748503481aece36ddf3d00eff94665d7c71c0c /fs/f2fs/segment.c
parent3de749d6d7cee11bbbe00090f4a285b759a406ab (diff)
downloadlinux-rt-fc3d296491f4ffd91fee6efbbba37832a59f9bf0.tar.gz
net/rds: Check laddr_check before calling it
[ Upstream commit 05733434ee9ae6548723a808647248583e347cca ] In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Fixes: c5c1a030a7db ("net/rds: An rds_sock is added too early to the hash table") Reported-by: syzbot+fae39afd2101a17ec624@syzkaller.appspotmail.com Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions