Commit 7e4a539
mISDN: Fix a use after free in hfcmulti_tx()
[ Upstream commit 61ab751 ]
Don't dereference *sp after calling dev_kfree_skb(*sp).
Fixes: af69fb3 ("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>1 parent 35dd375 commit 7e4a539
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1900 | 1900 | | |
1901 | 1901 | | |
1902 | 1902 | | |
1903 | | - | |
| 1903 | + | |
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
| |||
2121 | 2121 | | |
2122 | 2122 | | |
2123 | 2123 | | |
| 2124 | + | |
2124 | 2125 | | |
2125 | 2126 | | |
2126 | 2127 | | |
2127 | | - | |
| 2128 | + | |
2128 | 2129 | | |
2129 | 2130 | | |
2130 | 2131 | | |
2131 | | - | |
| 2132 | + | |
2132 | 2133 | | |
2133 | 2134 | | |
2134 | 2135 | | |
| |||
0 commit comments