CVE-2021-47235Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 17
- Auth required
- Yes
- Published
- May 21, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 3.15 < 4.4.274 |
| linux | linux_kernel | ≥ 4.5 < 4.9.274 |
| linux | linux_kernel | ≥ 4.10 < 4.14.238 |
| linux | linux_kernel | ≥ 4.15 < 4.19.196 |
| linux | linux_kernel | ≥ 4.20 < 5.4.128 |
| linux | linux_kernel | ≥ 5.5 < 5.10.46 |
| linux | linux_kernel | ≥ 5.11 < 5.12.13 |
| linux | linux_kernel | 5.13 |
| linux | linux_kernel | 5.13 |
| linux | linux_kernel | 5.13 |
| linux | linux_kernel | 5.13 |
| linux | linux_kernel | 5.13 |
| linux | linux_kernel | 5.13 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch