NFC: digital: fix possible memory leak in digital_tg_listen_mdaa() - Kernel

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002155: NFC: digital: fix possible memory leak in digital_tg_listen_mdaa(). Affects Kernel versions >= 1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8, < 58e7dcc9ca29c14e44267a4d0ea61e3229124907. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The NFC (Near Field Communication) subsystem within the Kernel enables short-range wireless communication between devices. It allows devices to exchange data and perform various tasks, such as contactless payments and data transfer. The digital_tg_listen_mdaa() function is part of the NFC digital driver and is responsible for listening to NFC target devices. However, a vulnerability has been identified in this function that could lead to a memory leak.

Vulnerability Detail

The vulnerability in digital_tg_listen_mdaa() function within the NFC digital driver can result in a memory leak. A memory leak occurs when memory is allocated but not properly deallocated, leading to a gradual reduction in available memory. This can eventually cause system instability, performance degradation, and potentially allow attackers to exploit the system. The vulnerability was introduced in version v3.13 of the Linux Kernel and has been fixed in version v5.15 by commit 58e7dcc9ca29c14e44267a4d0ea61e3229124907.

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 vulnerability in the digital_tg_listen_mdaa() function of the NFC digital driver in the Linux Kernel can result in a memory leak. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.15 or later. Users can also utilize Vulert Playground (https://vulert.com/scanner) to check if their system is affected by this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a memory leak, leading to system instability, performance degradation, and potential exploitation by attackers.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.

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

While it is technically possible to manually patch the vulnerability, it is recommended to update to the latest version of the Linux Kernel instead. Manual patching can be complex and error-prone, and it may not provide the same level of assurance as an official update.

For more information about this vulnerability, you can refer to the source link in the database specific section of the vulnerability details: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002155.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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