CVE-2022-48779

High

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().

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJul 16, 2024
First seenJul 16, 2024

How to fix

Update
  • linux linux_kernel5.16.11 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.16 ≤ v < 5.16.115.16.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.