Use After Free Vulnerability in sfc Package
Summary
GSD-2022-1004173: sfc: fix use after free when disabling sriov. Affects Kernel versions >= 3c5eb87605e85146a78de589b5070a37862425db, < e435c4aeeaa073091f7f3b7735af2ef5c97d63f2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The sfc package is a component of the Linux Kernel, which is responsible for managing the Solarflare network adapters. These adapters provide high-performance networking capabilities for servers. The sfc package enables the use of SR-IOV (Single Root I/O Virtualization) technology, allowing the creation of multiple virtual functions from a single physical function. This feature enhances network performance and enables efficient resource allocation. However, a vulnerability has been discovered in the sfc package that can lead to a use after free condition when disabling SR-IOV.
Vulnerability Detail
The use after free vulnerability in the sfc package occurs when SR-IOV is disabled. This vulnerability allows an attacker to exploit a freed memory region, potentially leading to arbitrary code execution or a system crash. The vulnerability was introduced in version 4.2 of the Linux Kernel and has been fixed in version 5.18.13. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The use after free vulnerability in the sfc package can be mitigated by updating the Linux Kernel to version 5.18.13 or later. This update includes the necessary fix to address the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The sfc package is a component of the Linux Kernel that manages Solarflare network adapters.
SR-IOV (Single Root I/O Virtualization) is a technology that allows the creation of multiple virtual functions from a single physical function, enhancing network performance and resource allocation.
A use after free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to memory corruption and potential security issues.
The use after free vulnerability in the sfc package can potentially allow an attacker to execute arbitrary code or crash the system.
There is no evidence of this vulnerability being exploited in the wild at the moment.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.