Bug 2248755 (CVE-2023-6039) - CVE-2023-6039 kernel: use-after-free in drivers/net/usb/lan78xx.c in lan78xx_disconnect
Summary: CVE-2023-6039 kernel: use-after-free in drivers/net/usb/lan78xx.c in lan78xx_...
Status: NEW
Alias: CVE-2023-6039
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
Depends On:
Blocks: 2248754
TreeView+ depends on / blocked
Reported: 2023-11-08 19:12 UTC by Rohit Keshri
Modified: 2023-11-09 15:04 UTC (History)
44 users (show)

Fixed In Version: Kernel 6.5-rc5
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in lan78xx_disconnect in drivers/net/usb/lan78xx.c in the network sub-component, net/usb/lan78xx in the Linux Kernel. This flaw allows a local attacker to crash the system when the LAN78XX USB device detaches.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Rohit Keshri 2023-11-08 19:12:02 UTC
There are use-after-free vulnerabilities in drivers/net/usb/lan78xx.c of 
linux that allow attacker to crash linux kernel when LAN78XX USB device 
is detaching.

The timer dev->stat_monitor can schedule the delayed work dev->wq and
the delayed work dev->wq can also arm the dev->stat_monitor timer.

When the device is detaching, the net_device will be deallocated. But
the net_device private data could still be dereferenced in delayed work
or timer handler. As a result, the UAF bugs will happen.


Note You need to log in before you can comment on or make changes to this bug.