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-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 ↓

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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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