CIQ Security Advisory: Remediation of CVE-2021-47013
7
5
09/19/2025
09/29/2026
Packages
kernel-4.18.0-425.13.1.el8.ciqfipscompliant.44.1.srckernel-4.18.0-372.32.1+30.1.el8_6_ciq.srcCVSS v3 Score Breakdown
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HRemediations
vendor_fix
Update to the fixed package version from CIQ repositories
Distribution
WHITE
Copyright (c) CIQ, Inc. VEX content is derived from Red Hat CSAF VEX documents (https://access.redhat.com/security/data/csaf/v2/vex/), (C) Red Hat, Inc., used under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); modified by CIQ.
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.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to the original copyright holder(s) and provide a link to the original.