Bug 2298119 (CVE-2022-48783)

Summary: CVE-2022-48783 kernel: net: dsa: lantiq_gswip: fix use after free in gswip_remove()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, rhel-process-autobot, vkumar, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.10.102, kernel 5.15.25, kernel 5.16.11 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's Lantiq GSWIP network switch driver. An improper deallocation sequence during device removal results in a use-after-free vulnerability, where the driver references memory that has already been released. A local attacker with administrative privileges could exploit this flaw to cause a Denial of Service (DoS) through a kernel crash or potentially execute arbitrary code.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2024-07-16 12:24:10 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: dsa: lantiq_gswip: fix use after free in gswip_remove()

of_node_put(priv->ds->slave_mii_bus->dev.of_node) should be
done before mdiobus_free(priv->ds->slave_mii_bus).