UAF in sata_fsl_port_stop when rmmod sata_fsl
Summary
GSD-2021-1002417: sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl. Affects Kernel versions >= faf0b2e5afe7dae072d2715763c7f992b612b628, < 0769449b0a5eabc3545337217ae690e46673e73a. 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 sata_fsl package is a component of the Linux Kernel, which is responsible for handling SATA (Serial ATA) functionality on Freescale PowerPC platforms. It provides the necessary drivers and modules for SATA devices to communicate with the system. The sata_fsl_port_stop function is a part of this package and is used to stop the operation of a SATA port. However, a use-after-free vulnerability exists in this function when the sata_fsl module is unloaded (rmmod).
Vulnerability Detail
The use-after-free vulnerability in sata_fsl_port_stop occurs when the sata_fsl module is unloaded while the sata_fsl_port_stop function is still in progress. This can lead to a situation where the function tries to access memory that has already been freed, potentially causing a crash or allowing an attacker to execute arbitrary code. The vulnerability was introduced in version v2.6.24 of the Linux Kernel and has been fixed in version v4.19.220.
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 sata_fsl_port_stop when rmmod sata_fsl can potentially lead to a crash or allow an attacker to execute arbitrary code. It is recommended to update the Linux Kernel to version v4.19.220 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability in sata_fsl_port_stop can potentially lead to a crash or allow an attacker to execute arbitrary code.
You can check if your system is affected by this vulnerability using the Vulert Playground (https://vulert.com/scanner) without requiring access to the code or installation.
Yes, the vulnerability has been fixed in version v4.19.220 of the Linux Kernel.
Yes, you can manually apply the fix by updating the Linux Kernel to version v4.19.220 or later.
There are no known exploits for this vulnerability at the moment.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.