CVE-2021-47013

medium
Published 2024-06-05 · Modified 2024-06-05
CVSS v3
VIR risk
5.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No vendor mitigations ingested yet for this CVE. The mitigation-content worker queues fetches as references arrive — check back in a few minutes, or see the references list below.

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed5.10.38-1
debian debianbullseyefixed5.10.38-1
debian debianforkyfixed5.10.38-1
debian debiansidfixed5.10.38-1
debian debiantrixiefixed5.10.38-1
almalinux almalinux8fixedkernel-rt-modules-4.18.0-553.5.1.rt7.346.el8_10.x86_64.rpm

References

💬 Discuss CVE-2021-47013 on VIR Community →

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.