In the Linux kernel, the following vulnerability has been resolved:
net: mscc: ocelot: fix use-after-free in ocelotvlandel()
ocelotvlanmemberdel() will free the struct ocelotbridgevlan, so if this is the same as the port's pvidvlan which we access afterwards, what we're accessing is freed memory.
Fix the bug by determining whether to clear ocelotport->pvidvlan prior to calling ocelotvlanmember_del().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48779.json",
"cna_assigner": "Linux"
}