{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-47013","published":"2024-02-28T09:15:38.800000Z","last_modified":"2026-08-04T10:16:41.567000Z","status":"Modified","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":"4.9","version_end_excluding":"4.9.269"},{"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.233"},{"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.191"},{"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.119"},{"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.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.11.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0079,"percentile":0.52885,"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-47013/","html_en":"/en/cve/CVE-2021-47013/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47013","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47013"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send\n\nIn emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..).\nIf some error happens in emac_tx_fill_tpd(), the skb will be freed via\ndev_kfree_skb(skb) in error branch of emac_tx_fill_tpd().\nBut the freed skb is still used via skb->len by netdev_sent_queue(,skb->len).\n\nAs i observed that emac_tx_fill_tpd() haven't modified the value of skb->len,\nthus my patch assigns skb->len to 'len' before the possible free and\nuse 'len' instead of skb->len later.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/16d8c44be52e3650917736d45f5904384a9da834","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/55fcdd1258faaecca74b91b88cc0921f9edd775d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6d72e7c767acbbdd44ebc7d89c6690b405b32b57","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8c06f34785068b87e2b560534c77c163d6c6dca7","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9dc373f74097edd0e35f3393d6248eda8d1ba99d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c7f75d11fe72913d2619f97b2334b083cd7bb955","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dc1b438a35773d030be0ee80d9c635c3e558a322","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e407495ba6788a67d1bd41714158c079e340879b","tags":["Patch"]}]}}