Race Condition Vulnerability in Linux Kernel's PCMCIA Driver

linux Updated 02 Oct 2025

Summary

30/09/2022
N/A
No i
Unrated
Not published

DEBIAN-CVE-2022-41848: drivers/char/pcmcia/synclink_cs.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free if a physically proximate attacker removes a PCMCIA device while calling ioctl, aka a race condition... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. The 'linux' package in Debian distributions is critical for system functionality, managing resources, and enabling communication between hardware devices. This package is widely used across various Debian versions, including Debian 11, 12, 13, and 14. The vulnerability in question affects the PCMCIA driver, which is responsible for managing PCMCIA devices, commonly used for network cards and other peripherals.

Vulnerability Detail

The vulnerability identified as CVE-2022-41848 is a race condition found in the 'synclink_cs.c' file of the Linux kernel, specifically affecting versions up to 5.19.12. This issue arises when a physically proximate attacker removes a PCMCIA device while an ioctl call is being executed. The race condition occurs between the mgslpc_ioctl and mgslpc_detach functions, leading to a use-after-free scenario. This could potentially allow an attacker to execute arbitrary code or cause a denial of service, compromising system integrity and security.

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

As a temporary workaround, users are advised to avoid using PCMCIA devices or to ensure that no unauthorized physical access is possible while the system is running. Additionally, consider disabling the PCMCIA subsystem if it is not needed for your operations.

Conclusion

CVE-2022-41848 is a significant vulnerability in the Linux kernel's PCMCIA driver that poses risks to system security. It is crucial for users to update their systems to patched versions of the 'linux' package to mitigate these risks. Utilizing tools like Vulert can help in monitoring vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-41848 is a race condition vulnerability in the Linux kernel's PCMCIA driver that can lead to a use-after-free condition, potentially allowing attackers to execute arbitrary code.

Debian versions 11, 12, 13, and 14 are affected by this vulnerability in the 'linux' package.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

If immediate updates are not possible, consider disabling the PCMCIA subsystem or avoiding the use of PCMCIA devices until a patch can be applied.

Failing to address this vulnerability could expose your system to potential attacks, leading to unauthorized access, data breaches, or system instability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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