Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47013

published critical CVSS 3.1 · 9.8

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

Published
28 Feb 2024, 08:13:30 UTC
Updated
05 Aug 2026, 08:45:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < c7f75d11fe72913d2619f97b2334b083cd7bb955 · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < dc1b438a35773d030be0ee80d9c635c3e558a322 · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 16d8c44be52e3650917736d45f5904384a9da834 · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 55fcdd1258faaecca74b91b88cc0921f9edd775d · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 9dc373f74097edd0e35f3393d6248eda8d1ba99d · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 8c06f34785068b87e2b560534c77c163d6c6dca7 · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < e407495ba6788a67d1bd41714158c079e340879b · b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 6d72e7c767acbbdd44ebc7d89c6690b405b32b57 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 4.9.269 through 4.9.* (unaffected · semver) · 4.14.233 through 4.14.* (unaffected · semver) · 4.19.191 through 4.19.* (unaffected · semver) · 5.4.119 through 5.4.* (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2021-1685 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-004 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
AlmaLinux 8 kernel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.5.1.rt7.346.el8_10 ALSA-2024:3627
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 perf Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.5.1.el8_10 ALSA-2024:3618
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.5.1.el8_10 ELSA-2024-3618
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.5.1.el8_10 RHSA-2024:3618
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-372.105.1.el8_6 RHSA-2024:3462
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-477.58.1.el8_8 RHSA-2024:3810

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The bug is in the Qualcomm EMAC ndo_start_xmit path (emac_start_xmit → emac_mac_tx_buf_send), used on network-facing FSM9900/QDF platforms; a remote peer can drive TX via ARP/ICMP/TCP replies or forwarded traffic through this NIC, matching other ethernet TX CVEs. AC:L - An attacker can flood traffic to raise DMA/swiotlb pressure until dma_mapping_error() hits; once that failure occurs the UAF of skb->len is deterministic, as scored for similar dma_mapping_error TX bugs (e.g. CVE-2024-50170). PR:N - No authentication or capability check sits on this path—unauthenticated remote traffic that elicits kernel TX, or an unprivileged local socket send, reaches emac_mac_tx_buf_send. UI:N - No victim action is required; ordinary network traffic or local sends autonomously exercise the transmit path. S:U - The UAF corrupts/abuses kernel skb and BQL state within the same host security authority; the TX ring produce index is rolled back on the error path so no IOMMU/DMA boundary is crossed. C:H - This is a use-after-free of an sk_buff: after dev_kfree_skb() the freed object can be reclaimed via heap spray, and UAF of skb metadata is treated as enabling arbitrary kernel memory disclosure primitives. I:H - Use-after-free of the skb enables heap reuse/type confusion and attacker-controlled BQL byte accounting via the post-free skb->len read, which is leverageable for memory corruption and control-flow impact. A:H - Dereferencing the freed skb can oops if the object is poisoned or unmapped, and the post-free netdev_sent_queue() permanently inflates BQL without a matching completion, enabling TX queue stall or kernel crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < c7f75d11fe72913d2619f97b2334b083cd7bb955 (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < dc1b438a35773d030be0ee80d9c635c3e558a322 (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 16d8c44be52e3650917736d45f5904384a9da834 (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 55fcdd1258faaecca74b91b88cc0921f9edd775d (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 9dc373f74097edd0e35f3393d6248eda8d1ba99d (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 8c06f34785068b87e2b560534c77c163d6c6dca7 (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < e407495ba6788a67d1bd41714158c079e340879b (affected · git)b9b17debc69d27cd55e21ee51a5ba7fc50a426cf to < 6d72e7c767acbbdd44ebc7d89c6690b405b32b57 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.9 (affected)0 to < 4.9 (unaffected · semver)4.9.269 through 4.9.* (unaffected · semver)4.14.233 through 4.14.* (unaffected · semver)4.19.191 through 4.19.* (unaffected · semver)5.4.119 through 5.4.* (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7859d5a55e5e6aca0ba779e4f89923265fa7c9716dac1d59dff499e9b5a739a7
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected