Centos-kernel-stream-9/drivers/net/usb
CKI Backport Bot ee4d30ad9f usbnet: fix memory leak in error case
JIRA: https://issues.redhat.com/browse/RHEL-80848
CVE: CVE-2022-49657

commit b55a21b764c1e182014630fa5486d717484ac58f
Author: Oliver Neukum <oneukum@suse.com>
Date:   Tue Jul 5 14:53:51 2022 +0200

    usbnet: fix memory leak in error case

    usbnet_write_cmd_async() mixed up which buffers
    need to be freed in which error case.

    v2: add Fixes tag
    v3: fix uninitialized buf pointer

    Fixes: 877bd862f3 ("usbnet: introduce usbnet 3 command helpers")
    Signed-off-by: Oliver Neukum <oneukum@suse.com>
    Link: https://lore.kernel.org/r/20220705125351.17309-1-oneukum@suse.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>
2025-02-26 13:58:35 +00:00
..
Kconfig net: usb: r8152: Use linkmode helpers for EEE 2024-10-01 08:41:10 +02:00
Makefile
aqc111.c
aqc111.h
asix.h net: asix: add proper error handling of usb read errors 2024-06-28 07:42:34 -05:00
asix_common.c net: asix: add proper error handling of usb read errors 2024-06-28 07:42:34 -05:00
asix_devices.c usbnet: Run unregister_netdev() before unbind() again 2024-12-13 11:26:40 -03:00
ax88172a.c
ax88179_178a.c net: usb: ax88179_178a: Use linkmode helpers for EEE 2024-10-01 08:41:10 +02:00
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c net: usb: cdc_ether: don't spew notifications 2024-12-03 12:45:15 +01:00
cdc_mbim.c ipv6: annotate data-races around cnf.forwarding 2024-11-14 10:16:48 +01:00
cdc_ncm.c
cdc_subset.c
ch9200.c
cx82310_eth.c
dm9601.c
gl620a.c
hso.c
huawei_cdc_ncm.c
int51x1.c
ipheth.c
kalmia.c
kaweth.c
lan78xx.c net: usb: lan78xx: Fix double free issue with interrupt buffer allocation 2025-01-14 11:45:06 +00:00
lan78xx.h
lg-vl600.c
mcs7830.c
net1080.c
pegasus.c
pegasus.h
plusb.c
qmi_wwan.c
r8152.c net: usb: r8152: Use linkmode helpers for EEE 2024-10-01 08:41:10 +02:00
r8153_ecm.c
rndis_host.c
rtl8150.c
sierra_net.c
smsc75xx.c
smsc75xx.h
smsc95xx.c usbnet: Run unregister_netdev() before unbind() again 2024-12-13 11:26:40 -03:00
smsc95xx.h
sr9700.c
sr9700.h
sr9800.c
sr9800.h
usbnet.c usbnet: fix memory leak in error case 2025-02-26 13:58:35 +00:00
zaurus.c USB: zaurus: Add ID for A-300/B-500/C-700 2024-12-03 12:45:15 +01:00