Commit e3127d4
committed
net: atm: fix use after free in lec_send()
jira LE-3519
cve CVE-2025-22004
Rebuild_History Non-Buildable kernel-5.14.0-570.25.1.el9_6
commit-author Dan Carpenter <[email protected]>
commit f3009d0
The ->send() operation frees skb so save the length before calling
->send() to avoid a use after free.
Fixes: 1da177e ("Linux-2.6.12-rc2")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
(cherry picked from commit f3009d0)
Signed-off-by: Jonathan Maple <[email protected]>1 parent d58e5e0 commit e3127d4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments