Memory leaks in EVT_TRANSACTION handling in nfc: st21nfca

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1004038: nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling. Affects Kernel versions >= 26fc6c7f02cb26c39c4733de3dbc3c0646fc1074, < 593773088d615a46a42c97e01a0550d192bb7f74. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The nfc: st21nfca package is a component of the Linux Kernel that provides support for Near Field Communication (NFC) devices using the ST21NFCA chip. NFC enables short-range communication between devices, allowing for contactless transactions and data exchange. The st21nfca driver in the Linux Kernel handles the communication with the ST21NFCA chip and provides the necessary functionality for NFC operations.

Vulnerability Detail

The vulnerability identified in the nfc: st21nfca package relates to memory leaks in the handling of EVT_TRANSACTION events. When processing these events, the driver fails to release allocated memory, leading to memory leaks over time. This can result in resource exhaustion and potential system instability. An attacker may be able to exploit this vulnerability to exhaust system resources, leading to a denial-of-service condition or other malicious activities.

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. However, users can consider implementing additional resource management measures to mitigate the impact of potential memory leaks. This may include monitoring system resources, setting resource limits, or implementing proper error handling mechanisms in applications that utilize the nfc: st21nfca package.

Conclusion

The memory leaks in EVT_TRANSACTION handling in the nfc: st21nfca package pose a potential security risk due to resource exhaustion and system instability. It is crucial to update the Linux Kernel to the recommended version to address this vulnerability. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nfc: st21nfca package is a component of the Linux Kernel that provides support for Near Field Communication (NFC) devices using the ST21NFCA chip.

This vulnerability can lead to memory leaks, resource exhaustion, and potential system instability. It may allow attackers to perform denial-of-service attacks or other malicious activities.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.318 or later, which includes a commit that addresses the memory leaks. Users can obtain the updated kernel from the official Linux Kernel repository.

While no specific workarounds are mentioned, users can consider implementing additional resource management measures to mitigate the impact of potential memory leaks.

For more information about this vulnerability, you can refer to the vulnerability details in the Open Source Vulnerability format or consult the official Linux Kernel documentation and community resources.

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