summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-05-25 19:09:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-04 09:34:42 +0200
commit33de7ba5ba53bf60c7cf5220225e3e3c26c22943 (patch)
tree3dd71144e69f5b27427bbe573519dd52bb3e1c60 /include/linux/timerqueue.h
parenta6a605fd0b26b4e49621e29f88a0b61537e7a36f (diff)
af_key: fix leaks in key_pol_get_resp and dump_sp.
[ Upstream commit 7c80eb1c7e2b8420477fbc998971d62a648035d9 ] In both functions, if pfkey_xfrm_policy2msg failed we leaked the newly allocated sk_buff. Free it on error. Fixes: 55569ce256ce ("Fix conversion between IPSEC_MODE_xxx and XFRM_MODE_xxx.") Reported-by: syzbot+4f0529365f7f2208d9f0@syzkaller.appspotmail.com Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions