Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2021-47013net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send

Description

In the Linux kernel, the following vulnerability has been resolved: net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send In emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..). If some error happens in emac_tx_fill_tpd(), the skb will be freed via dev_kfree_skb(skb) in error branch of emac_tx_fill_tpd(). But the freed skb is still used via skb->len by netdev_sent_queue(,skb->len). As i observed that emac_tx_fill_tpd() haven't modified the value of skb->len, thus my patch assigns skb->len to 'len' before the possible free and use 'len' instead of skb->len later.

Timeline

  1. ID reserved

    By Linux

  2. · 1 day later

    Published

  3. · 2 years later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2021-47013, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Modified3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.79% · top 43% of all CVEs (15 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Affected products

  • Linux · Linux

    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < c7f75d11fe72913d2619f97b2334b083cd7bb955
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < dc1b438a35773d030be0ee80d9c635c3e558a322
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < 16d8c44be52e3650917736d45f5904384a9da834
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < 55fcdd1258faaecca74b91b88cc0921f9edd775d
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < 9dc373f74097edd0e35f3393d6248eda8d1ba99d
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < 8c06f34785068b87e2b560534c77c163d6c6dca7
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < e407495ba6788a67d1bd41714158c079e340879b
    • affected b9b17debc69d27cd55e21ee51a5ba7fc50a426cf – < 6d72e7c767acbbdd44ebc7d89c6690b405b32b57
  • Linux · Linux

    • affected 4.9
    • unaffected < 4.9
    • unaffected 4.9.269 – ≤ 4.9.*
    • unaffected 4.14.233 – ≤ 4.14.*
    • unaffected 4.19.191 – ≤ 4.19.*
    • unaffected 5.4.119 – ≤ 5.4.*
    • unaffected 5.10.37 – ≤ 5.10.*
    • unaffected 5.11.21 – ≤ 5.11.*
    • unaffected 5.12.4 – ≤ 5.12.*
    • unaffected 5.13 – ≤ *

References

References8

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2021-47013 badge
[![CVE-2021-47013](https://cveledger.app/badge/CVE-2021-47013.svg)](https://cveledger.app/cve/CVE-2021-47013)

Record last updated .