VYPR
High severity7.8NVD Advisory· Published Jul 16, 2024· Updated Aug 4, 2026

CVE-2022-48779

CVE-2022-48779

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.16,<5.16.11
    • (no CPE)
    • (no CPE)range: 5.16
  • osv-coords
    Range: >= 5.16.0, < 5.16.11

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.