CVE-2022-48779
kernel: net: mscc: ocelot: fix use-after-free in ocelot_vlan_del()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 16, 2024
Updated · August 5, 2026
Description
A flaw was found in the Linux kernel in the net ocelot driver, which involved a use-after-free issue in the ocelot_vlan_del() function. The flaw occurred when the ocelot_vlan_member_del() function freed the struct ocelot_bridge_vlan, still referenced by the port's Primary VLAN ID (PVID).
Statement
Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free