android_kernel_xiaomi_sm8450/drivers/isdn
Dan Carpenter 9460ac3dd1 mISDN: Fix a use after free in hfcmulti_tx()
[ Upstream commit 61ab751451f5ebd0b98e02276a44e23a10110402 ]

Don't dereference *sp after calling dev_kfree_skb(*sp).

Fixes: af69fb3a8f ("Add mISDN HFC multiport driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/8be65f5a-c2dd-4ba0-8a10-bfe5980b8cfb@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-19 05:41:05 +02:00
..
capi isdn: cpai: check ctr->cnr to avoid array index out of bound 2021-10-27 09:56:53 +02:00
hardware mISDN: Fix a use after free in hfcmulti_tx() 2024-08-19 05:41:05 +02:00
mISDN mISDN: Update parameter type of dsp_cmx_send() 2023-08-16 18:21:01 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00