VYPR
Unrated severityNVD Advisory· Published May 24, 2024· Updated May 4, 2025

can: sja1000: fix use after free in ems_pcmcia_add_card()

CVE-2021-47521

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

143

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

8

News mentions

0

No linked articles in our index yet.