{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-47235","published":"2024-05-21T15:15:12.777000Z","last_modified":"2026-06-17T04:16:58.423000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.15","version_end_excluding":"4.4.274"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.5","version_end_excluding":"4.9.274"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.238"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.196"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.128"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.46"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.12.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"5.13"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00318,"percentile":0.17188,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-47235/","html_en":"/en/cve/CVE-2021-47235/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47235","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47235"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: fix potential use-after-free in ec_bhf_remove\n\nstatic void ec_bhf_remove(struct pci_dev *dev)\n{\n...\n\tstruct ec_bhf_priv *priv = netdev_priv(net_dev);\n\n\tunregister_netdev(net_dev);\n\tfree_netdev(net_dev);\n\n\tpci_iounmap(dev, priv->dma_io);\n\tpci_iounmap(dev, priv->io);\n...\n}\n\npriv is netdev private data, but it is used\nafter free_netdev(). It can cause use-after-free when accessing priv\npointer. So, fix it by moving free_netdev() after pci_iounmap()\ncalls.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0260916843cc74f3906acf8b6f256693e01530a2","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/19f88ca68ccf8771276a606765239b167654f84a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1cafc540b7bf1b6a5a77dc000205fe337ef6eba6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/95deeb29d831e2fae608439e243e7a520611e7ea","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9cca0c2d70149160407bda9a9446ce0c29b6e6c6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b1ad283755095a4b9d1431aeb357d7df1a33d3bb","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d11d79e52ba080ee567cb7d7eb42a5ade60a8130","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/db2bc3cfd2bc01621014d4f17cdfc74611f339c8","tags":["Patch"]}]}}