summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-12-18 11:55:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 19:47:55 +0100
commit3cda77eb0cc4127a2e0f576071468cc8d6a70b05 (patch)
tree7973f896f15cfbe8892c814c71c2f7faf3d1b95f /drivers/usb/class/cdc-acm.c
parent215f63fc34ef0095736edad7c7610f2a30a39e82 (diff)
ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
[ Upstream commit e925e0cd2a705aaacb0b907bb3691fcac3a973a4 ] ugeth is the netdiv_priv() part of the netdevice. Accessing the memory pointed to by ugeth (such as done by ucc_geth_memclean() and the two of_node_puts) after free_netdev() is thus use-after-free. Fixes: 80a9fad8e89a ("ucc_geth: fix module removal") Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions