What’s Vulnerable › Vulnerabilities

CVE-2021-47521: can: sja1000: fix use after free in ems_pcmcia_add_card()

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 4.14.258, 4.19.221, 4.4.295, 4.9.293. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47521 or the next vulnerability affects your stack