7.8

CVE-2021-47235: linux Use After Free

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2021-47235DEBIAN-CVE-2021-47235
Published 21-05-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-47235 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 7

Timeline

  1. 21-05-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: fix potential use-after-free in ec_bhf_remove static void ec_bhf_remove(struct pci_dev *dev) { ... struct ec_bhf_priv *priv = netdev_priv(net_dev); unregister_netdev(net_dev); free_netdev(net_dev); pci_iounmap(dev, priv->dma_io); pci_iounmap(dev, priv->io); ... } priv is netdev private data, but it is used after free_netdev(). It can cause use-after-free when accessing priv pointer. So, fix it by moving free_netdev() after pci_iounmap() calls.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

0.00 pp

From 0.23% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu86 products
  • linux< 4.4.0-267.301 | < 4.15.0-156.163 | < 5.4.0-81.91
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1142.148 | < 4.4.0-1180.195 | < 4.15.0-1111.118 | < 5.4.0-1055.58
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < db2bc3cfd2bc01621014d4f17cdfc74611f339c8 | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 1cafc540b7bf1b6a5a77dc000205fe337ef6eba6 | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < b1ad283755095a4b9d1431aeb357d7df1a33d3bb | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 0260916843cc74f3906acf8b6f256693e01530a2 | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 19f88ca68ccf8771276a606765239b167654f84a | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 95deeb29d831e2fae608439e243e7a520611e7ea | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < d11d79e52ba080ee567cb7d7eb42a5ade60a8130 | ≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 9cca0c2d70149160407bda9a9446ce0c29b6e6c6 | 3.15
  • linux_kernel≥ 3.15, < 4.4.274 | ≥ 4.5, < 4.9.274 | ≥ 4.10, < 4.14.238 | ≥ 4.15, < 4.19.196 | ≥ 4.20, < 5.4.128 | ≥ 5.5, < 5.10.46 | ≥ 5.11, < 5.12.13 | 5.13:rc1 | 5.13:rc2 | 5.13:rc3 | 5.13:rc4 | 5.13:rc5 | 5.13:rc6
Debian1 product
  • linux< 5.10.46-1

3 vendors · 89 products

References

14 links
Show all 14 references