Memory Leak in nfcmrvl_play_deferred in Kernel

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004765: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred. Affects Kernel versions < 6b4d8b44e7163a77fe942f5b80e1651c1b78c537. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The nfcmrvl module within the Kernel is responsible for handling Near Field Communication (NFC) operations using Marvell NFC hardware. NFC enables short-range wireless communication between devices and is commonly used for contactless payments, data transfer, and access control. However, a memory leak vulnerability has been identified in the nfcmrvl_play_deferred function, which can lead to resource exhaustion and potential system instability.

Vulnerability Detail

The nfcmrvl_play_deferred function in the nfcmrvl module of the Kernel suffers from a memory leak vulnerability. When this function is called, it allocates memory for a specific operation but fails to release it properly, resulting in a continuous accumulation of unreleased memory. If an attacker repeatedly triggers this function, it can lead to a depletion of available system memory, causing performance degradation or even system crashes. Exploiting this vulnerability may allow an attacker to launch denial-of-service attacks or gain elevated privileges by exhausting system resources. The vulnerability has been fixed in Linux Kernel version v5.4.200 by commit 6b4d8b44e7163a77fe942f5b80e1651c1b78c537.

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 can disable the nfcmrvl module if it is not required for their system's functionality. This can be achieved by blacklisting the module or preventing it from loading during system startup. However, this workaround may result in the loss of NFC capabilities on the affected system.

Conclusion

The memory leak vulnerability in nfcmrvl_play_deferred within the Kernel can lead to resource exhaustion and potential system instability. It is crucial to update the Linux Kernel to version v5.4.200 or later to mitigate this vulnerability. Users can also consider temporarily disabling the nfcmrvl module if it is not required, but this may result in the loss of NFC capabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory exhaustion, causing performance degradation or system crashes. It may also allow attackers to launch denial-of-service attacks or gain elevated privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies for any known vulnerabilities.

Yes, the vulnerability has been fixed in Linux Kernel version v5.4.200 by commit 6b4d8b44e7163a77fe942f5b80e1651c1b78c537. It is recommended to update to this version or a later one to mitigate the issue.

As a temporary workaround, you can disable the nfcmrvl module if it is not required for your system's functionality. However, this may result in the loss of NFC capabilities on the affected system.

You can refer to the vulnerability details in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004765.json) for more information about this specific vulnerability.

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