CVE-2021-47521

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

published May 24, 2024

CVSS
—
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.5th percentile
Published
2024-05-24T15:09Z
EPSS history
Timeline
  • 24 MAY 15:09Z
    can: sja1000: fix use after free in ems_pcmcia_add_card()
    cvelistv5