CVE-2023-6039 Kernel: use-after-free in drivers/net/usb/lan78xx.c in lan78xx_disconnect

Medium 5.5 Published Updated

A local attacker can crash the system by triggering a use-after-free in the LAN78XX USB network driver during device detachment.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6039?

CVE-2023-6039 is a medium-severity use after free vulnerability in Linux kernel, published on 9 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2023-6039?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-6039?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-6039 being exploited?

There is no known exploitation of CVE-2023-6039 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-31958, DEBIAN-CVE-2023-6039, GHSA-pjpx-xv79-pcwg, ROOT-OS-DEBIAN-12-CVE-2023-6039, UBUNTU-CVE-2023-6039, USN-6706-1.

Is CVE-2023-6039 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free