NetSight
high7.8

CVE-2021-47521

In the Linux kernel, the following vulnerability has been resolved: can: sja1000: fix use after free in ems_pcmcia_add_card() If the last channel is not availa…

Impact

In the Linux kernel, the following vulnerability has been resolved: can: sja1000: fix use after free in ems_pcmcia_add_card() If the last channel is not available then "dev" is freed. Fortunately, we can just use "pdev->irq" instead. Also we should check if at least one channel was set up.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.2 before 4.4.295
from 4.5 before 4.9.293
from 4.10 before 4.14.258
from 4.15 before 4.19.221
from 4.20 before 5.4.165
from 5.5 before 5.10.85

Weakness classification

References