Skip to main content
Network Thinking Solutions Logo

CVE-2021-47235

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) { .

All CVEs
CVE-2021-47235Published 5/21/2024

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) { .

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.15, < 4.4.274

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.274

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.238

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.196

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.128

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.46

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.13

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < db2bc3cfd2bc01621014d4f17cdfc74611f339c8

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 1cafc540b7bf1b6a5a77dc000205fe337ef6eba6

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < b1ad283755095a4b9d1431aeb357d7df1a33d3bb

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 0260916843cc74f3906acf8b6f256693e01530a2

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 19f88ca68ccf8771276a606765239b167654f84a

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 95deeb29d831e2fae608439e243e7a520611e7ea

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < d11d79e52ba080ee567cb7d7eb42a5ade60a8130

Verify advisory

Source
Linux
Linux
≥ 6af55ff52b02d492d45db88df3e461fa51a6f753, < 9cca0c2d70149160407bda9a9446ce0c29b6e6c6

Verify advisory

Source
Linux
Linux
3.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.