{"id":"CVE-2022-48779","published":"2024-07-16T11:13:17Z","modified":"2026-08-05T08:52:13Z","title":"net: mscc: ocelot: fix use-after-free in ocelot_vlan_del()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mscc: ocelot: fix use-after-free in ocelot_vlan_del()\n\nocelot_vlan_member_del() will free the struct ocelot_bridge_vlan, so if\nthis is the same as the port's pvid_vlan which we access afterwards,\nwhat we're accessing is freed memory.\n\nFix the bug by determining whether to clear ocelot_port->pvid_vlan prior\nto calling ocelot_vlan_member_del().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12553,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c98bed60cdd7f22237ae256cc9c1c3087206b8a2","tags":[]},{"url":"https://git.kernel.org/stable/c/ef57640575406f57f5b3393cf57f457b0ace837e","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.51},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d4004422f6f9fa8e55c04482008c1c9f9edd2d19, < c98bed60cdd7f22237ae256cc9c1c3087206b8a2",">= d4004422f6f9fa8e55c04482008c1c9f9edd2d19, < ef57640575406f57f5b3393cf57f457b0ace837e"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:00:24.152483Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53658","exploited":false,"provenance":"source"}}