cve.bz

CVE-2023-6039 linux linux kernel: Use After Free

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-6039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6039?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 6.5
linux:linux_kernel6.5:rc1
linux:linux_kernel6.5:rc2
linux:linux_kernel6.5:rc3
linux:linux_kernel6.5:rc4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linuxno fix listedDEBIAN-CVE-2023-6039
Debian13, 14linux6.4.11-1DEBIAN-CVE-2023-6039
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-6039
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-6039
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1053.58~20.04.1UBUNTU-CVE-2023-6039 USN-6626-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1056.64~20.04.1UBUNTU-CVE-2023-6039 USN-6626-3
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1056.64~20.04.1.1USN-6626-3
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1051.59~20.04.1UBUNTU-CVE-2023-6039 USN-6626-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-6039
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1036.42~20.04.1UBUNTU-CVE-2023-6039 USN-6626-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-94.104~20.04.1UBUNTU-CVE-2023-6039 USN-6626-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1046.49~20.04.1UBUNTU-CVE-2023-6039 USN-6626-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1048.54~20.04.1UBUNTU-CVE-2023-6039 USN-6628-2
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1022.22~20.04.1UBUNTU-CVE-2023-6039
31 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_161-150400.1.3.1SUSE-SU-2023:4731-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_211-150400.9.3.2SUSE-SU-2023:4810-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_81-150500.11.3.2SUSE-SU-2023:4732-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_81-150500.11.3.1SUSE-SU-2023:4730-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.100.2.150400.24.46.2SUSE-SU-2023:4810-1
SUSELinux Enterprise Micro 5.5kernel-rt5.14.21-150500.13.27.2SUSE-SU-2023:4732-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.39.1.150500.6.17.1SUSE-SU-2023:4730-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
8 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.100.1SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.75.1SUSE-SU-2023:4782-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.100.2.150400.24.46.2SUSE-SU-2023:4810-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.26.1SUSE-SU-2023:4734-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.39.1.150500.6.17.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-rt, kernel-rt_debug, kernel-source-rt5.14.21-150500.13.27.2SUSE-SU-2023:4732-1
openSUSELeap 15.5kernel-syms-rt5.14.21-150500.13.27.1SUSE-SU-2023:4732-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
Azure Linux2kernelno fix listedAZL-31958

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The affected code was not introduced into any kernel versions shipped with Red Hat Enterprise Linux, making this vulnerability not applicable to these platforms.

Red Hat's mitigation

Mitigation for this issue is to skip loading the affected module "lan78xx" onto the system till we have a fix available, this can be done by a blacklist mechanism, this will ensure the driver is not loaded at the boot time.

~~~

How do I blacklist a kernel module to prevent it from loading automatically?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6039.

References

Check your stackJSON