Commit f35a88c
committed
net: usb: smsc75xx: Limit packet length to skb->len
jira VULN-67484
cve CVE-2023-53125
commit-author Szymon Heidrich <[email protected]>
commit d8b2283
Packet length retrieved from skb data may be larger than
the actual socket buffer length (up to 9026 bytes). In such
case the cloned skb passed up the network stack will leak
kernel memory contents.
Fixes: d0cad87 ("smsc75xx: SMSC LAN75xx USB gigabit ethernet adapter driver")
Signed-off-by: Szymon Heidrich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
(cherry picked from commit d8b2283)
Signed-off-by: Roxana Nicolescu <[email protected]>
Signed-off-by: Roxana Nicolescu <[email protected]>1 parent fda64b3 commit f35a88c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
| 2220 | + | |
| 2221 | + | |
2221 | 2222 | | |
2222 | 2223 | | |
2223 | 2224 | | |
| |||
0 commit comments