VULNERABILITY INTELLIGENCE
CVE-2022-48779
CVSS score7.8 HIGH
EPSS probability0.22%
CISA KEVNot currently listed
Published2024-07-16
Last modified2026-08-04
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: fix use-after-free in ocelot_vlan_del() ocelot_vlan_member_del() will free the struct ocelot_bridge_vlan, so if this is the same as the port's pvid_vlan which we access afterwards, what we're accessing is freed memory. Fix the bug by determining whether to clear ocelot_port->pvid_vlan prior to calling ocelot_vlan_member_del().
Weakness classification
- nvd@nist.gov: CWE-416
Primary references
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch