CVE-2021-47521: can: sja1000: fix use after free in ems_pcmcia_add_card()
Vulnerability summary
CVE-2021-47521 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 24-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu88 products
- linuxAll versions (No fix recorded) | < 4.4.0-258.292 | < 4.15.0-169.177 | < 5.4.0-100.113
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1135.141 | < 4.4.0-1173.188 | < 4.15.0-1121.129 | < 5.4.0-1066.69
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < cbd86110546f7f730a1f5d7de56c944a336c15c4 | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < 1dd5b819f7e406dc15bbc7670596ff25261aaa2a | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < c8718026ba287168ff9ad0ccc4f9a413062cba36 | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < ccf070183e4655824936c0f96c4a2bcca93419aa | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < 1a295fea90e1acbe80c6d4940f5ff856edcd6bec | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < 923f4dc5df679f678e121c20bf2fd70f7bf3e288 | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < 474f9a8534f5f89841240a7e978bafd6e1e039ce | ≥ fd734c6f25aea4b2b44b045e489aec67b388577e, < 3ec6ca6b1a8e64389f0212b5a1b0f6fed1909e45 | 3.2
- linux_kernel≥ 3.2, < 4.4.295 | ≥ 4.5, < 4.9.293 | ≥ 4.10, < 4.14.258 | ≥ 4.15, < 4.19.221 | ≥ 4.20, < 5.4.165 | ≥ 5.5, < 5.10.85 | ≥ 5.11, < 5.15.8
Debian1 product
- linux< 5.15.15-1
3 vendors · 91 products