UAF in sata_fsl_port_stop when rmmod sata_fsl

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002391: sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl. Affects Kernel versions >= faf0b2e5afe7dae072d2715763c7f992b612b628, < 325ea49fc43cbc03a5e1e37de8f0ca6357ced4b1. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 support for SATA controllers and allows communication with SATA devices such as hard drives and solid-state drives. The sata_fsl_port_stop function is a part of this package and is used to stop the SATA port during the removal of the sata_fsl module.

Vulnerability Detail

The sata_fsl_port_stop function in the sata_fsl package suffers from a Use-After-Free (UAF) vulnerability. When the sata_fsl module is unloaded (rmmod), the sata_fsl_port_stop function is called to stop the SATA port. However, due to a programming error, the function does not properly handle the removal of the module, leading to a UAF condition. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.

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 sata_fsl package in the Linux Kernel is vulnerable to a Use-After-Free (UAF) issue in the sata_fsl_port_stop function. This vulnerability can potentially be exploited to execute arbitrary code or cause a denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v4.14.257 or later to fix this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes the manifest file (e.g., package-lock.json) of your application and provides real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known exploit available for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network.

The recommended solution is to update the Linux Kernel to the fixed version. However, if updating is not feasible, implementing strong network security measures and access controls can help mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback