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

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) 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 →

Share this vulnerability

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.

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