CVE-2021-46998
ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
Mitigation
- Upgrade Linux to 643001b47adc844ae33510c4bb93c236667008a3 or later.
Who should check
- Anyone running Linux >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 6892396ebf04ea2c021d80e10f4075e014cd7cc3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < d90529392aaf498dafa95d212295d64b2cea4e24; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 643001b47adc844ae33510c4bb93c236667008a3
- Anyone running Linux 4.16
Vulnerability facts
- Affected
- Linux >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 6892396ebf04ea2c021d80e10f4075e014cd7cc3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < d90529392aaf498dafa95d212295d64b2cea4e24; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 643001b47adc844ae33510c4bb93c236667008a3; Linux 4.16
- Fixed in
- Linux 25a87b1f566b5eb2af2857a928f0e2310d900976, Linux 7afdd6aba95c8a526038e7abe283eeac3e4320f1, Linux 6892396ebf04ea2c021d80e10f4075e014cd7cc3, Linux 643001b47adc844ae33510c4bb93c236667008a3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ethernet:enic: Fix a use after free bug in enic_hard_start_xmit In enic_hard_start_xmit, it calls enic_queue_wq_skb(). Inside enic_queue_wq_skb, if some error happens, the skb will be freed by dev_kfree_skb(skb). But the freed skb is still used in skb_tx_timestamp(skb). My patch makes enic_queue_wq_skb() return error and goto spin_unlock() incase of error. The solution is provided by Govind. See https://lkml.org/lkml/2021/4/30/961.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 6892396ebf04ea2c021d80e10f4075e014cd7cc3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < d90529392aaf498dafa95d212295d64b2cea4e24; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 643001b47adc844ae33510c4bb93c236667008a3 | — | cvelist |
| Linux | 4.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-46998. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-46998.md Affected: Linux >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1; >= fb7516d42478ebc8e2f00ef… Fixed in: Linux 25a87b1f566b5eb2af2857a928f0e2310d900976, Linux 7afdd6aba95c8a526038e7abe283eeac3e4320f1, Linux 6892396ebf04ea2c021d80e10f4075e014cd7cc3, Linux 643001b47adc844ae33510c4bb93c236667008a3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/25a87b1f566b5eb2af2857a928f0e2310d900976
- https://git.kernel.org/stable/c/f7f6f07774091a6ddd98500b85386c3c6afb30d3
- https://git.kernel.org/stable/c/7afdd6aba95c8a526038e7abe283eeac3e4320f1
- https://git.kernel.org/stable/c/6892396ebf04ea2c021d80e10f4075e014cd7cc3
- https://git.kernel.org/stable/c/d90529392aaf498dafa95d212295d64b2cea4e24
- https://git.kernel.org/stable/c/643001b47adc844ae33510c4bb93c236667008a3
FAQ
Is CVE-2021-46998 being exploited?
There is no confirmed exploitation: CVE-2021-46998 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-46998?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-46998?
Linux >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 6892396ebf04ea2c021d80e10f4075e014cd7cc3; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < d90529392aaf498dafa95d212295d64b2cea4e24; >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 643001b47adc844ae33510c4bb93c236667008a3; Linux 4.16.
Is there a fix for CVE-2021-46998?
Yes. Fixed in Linux 25a87b1f566b5eb2af2857a928f0e2310d900976, Linux 7afdd6aba95c8a526038e7abe283eeac3e4320f1, Linux 6892396ebf04ea2c021d80e10f4075e014cd7cc3, Linux 643001b47adc844ae33510c4bb93c236667008a3. Upgrade Linux to 643001b47adc844ae33510c4bb93c236667008a3 or later.
How do I check if I'm affected by CVE-2021-46998?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.