{"id":"CVE-2021-46998","published":"2024-02-28T08:13:21Z","modified":"2026-08-05T08:45:27Z","title":"ethernet:enic: Fix a use after free bug in enic_hard_start_xmit","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nethernet:enic: Fix a use after free bug in enic_hard_start_xmit\n\nIn enic_hard_start_xmit, it calls enic_queue_wq_skb(). Inside\nenic_queue_wq_skb, if some error happens, the skb will be freed\nby dev_kfree_skb(skb). But the freed skb is still used in\nskb_tx_timestamp(skb).\n\nMy patch makes enic_queue_wq_skb() return error and goto spin_unlock()\nincase of error. The solution is provided by Govind.\nSee https://lkml.org/lkml/2021/4/30/961.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00244,"percentile":0.09437,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/25a87b1f566b5eb2af2857a928f0e2310d900976","tags":[]},{"url":"https://git.kernel.org/stable/c/f7f6f07774091a6ddd98500b85386c3c6afb30d3","tags":[]},{"url":"https://git.kernel.org/stable/c/7afdd6aba95c8a526038e7abe283eeac3e4320f1","tags":[]},{"url":"https://git.kernel.org/stable/c/6892396ebf04ea2c021d80e10f4075e014cd7cc3","tags":[]},{"url":"https://git.kernel.org/stable/c/d90529392aaf498dafa95d212295d64b2cea4e24","tags":[]},{"url":"https://git.kernel.org/stable/c/643001b47adc844ae33510c4bb93c236667008a3","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":1.89},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 25a87b1f566b5eb2af2857a928f0e2310d900976",">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < f7f6f07774091a6ddd98500b85386c3c6afb30d3",">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1",">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 6892396ebf04ea2c021d80e10f4075e014cd7cc3",">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < d90529392aaf498dafa95d212295d64b2cea4e24",">= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 643001b47adc844ae33510c4bb93c236667008a3"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:00:51.946004Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33646","exploited":false,"provenance":"source"}}