Linux · Linux Kernel · CVE-2021-47555
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a memory leak in the Linux kernel's VLAN component. When a dummy netdevice is removed, it can cause an underflow of the reference count for the real device, leading to a memory leak and an endless loop. This is because `dev put(real dev)` is called in `vlan dev free()` without a corresponding `dev hold(real dev)` in `register vlan dev()`. To fix this, `dev hold(real dev)` is moved to `vlan dev init()`, which is the callback for `ndo init()`, making `dev hold()` and `dev put()` symmetrical for the VLAN's real device.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.