CVE-2021-46991
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46991 is a use-after-free vulnerability in the Linux kernel's i40e driver, specifically in the i40eclientsubtask() function. The vulnerability was discovered when it was found that the call to i40eclientdelinstance frees the object pf->cinst, but pf->cinst->laninfo is being accessed after the free operation. The vulnerability affects Linux kernel versions from 4.16 through 5.12.5 (NVD).

Technical details

The vulnerability is classified as CWE-416 (Use After Free) with a CVSS v3.1 base score of 7.8 HIGH (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The issue occurs in the i40e network driver when the i40eclientdelinstance function is called, which frees the pf->cinst object while its laninfo member is still being accessed afterward. The fix involves adding a missing return statement after the free operation to prevent the use-after-free condition (NVD).

Impact

The vulnerability could potentially lead to high impacts on confidentiality, integrity, and availability of the affected system when exploited. The CVSS scoring indicates that successful exploitation could result in a complete compromise of the system's confidentiality, integrity, and availability within the scope of the affected component (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed by adding a missing return statement after the i40eclientdel_instance call. The fix has been implemented in various kernel versions and is available through distribution-specific kernel updates. Users are advised to update their Linux kernel to a patched version (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management