UAF in sata_fsl_port_stop when rmmod sata_fsl
Summary
GSD-2021-1002445: sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl. Affects Kernel versions >= faf0b2e5afe7dae072d2715763c7f992b612b628, < 77393806c76b6b44f1c44bd957788c8bd9152c45. 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) controllers based on the Freescale (now NXP) platform. It provides the necessary drivers and functionality for these controllers to communicate with storage devices. The sata_fsl_port_stop function within the package is used to stop a SATA port. However, a use-after-free (UAF) vulnerability exists in this function when the sata_fsl module is unloaded (rmmod).
Vulnerability Detail
The UAF vulnerability in sata_fsl_port_stop occurs due to improper handling of resources when the sata_fsl module is unloaded. This can lead to a situation where a reference to a freed object is still accessible, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v2.6.24 of the Linux Kernel and has been fixed in version v5.4.164.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
The UAF vulnerability in sata_fsl_port_stop can be addressed by updating the Linux Kernel to version v5.4.164 or later. It is crucial to regularly update the Kernel to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
sata_fsl is a package in the Linux Kernel that provides drivers and functionality for SATA controllers based on the Freescale platform.
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to unexpected behavior or security issues.
The UAF vulnerability in sata_fsl_port_stop could allow an attacker to execute arbitrary code or cause a denial-of-service condition.
The vulnerability was introduced in version v2.6.24 of the Linux Kernel and has been fixed in version v5.4.164.
To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.4.164 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.