Vulnerability in Kernel package: nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003511: nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION. Affects Kernel versions >= 26fc6c7f02cb26c39c4733de3dbc3c0646fc1074, < cdd9227373f29bd68a1729dc33105026ff3202f6. 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 Kernel package is an essential component of the Linux operating system, responsible for managing the system's core functionality. It provides the necessary interfaces and services for communication between hardware and software components. The nfc (Near Field Communication) subsystem within the Kernel package enables devices to communicate wirelessly over short distances. One of its modules, st21nfca, is responsible for handling transactions in NFC devices. However, a vulnerability has been discovered in the EVT_TRANSACTION function of st21nfca, leading to incorrect sizing calculations. This vulnerability could potentially be exploited by attackers to manipulate transaction data or cause a denial-of-service condition.

Vulnerability Detail

The vulnerability in the EVT_TRANSACTION function of st21nfca arises from incorrect sizing calculations. This can result in buffer overflows or underflows, leading to memory corruption or data manipulation. An attacker could potentially craft malicious NFC transactions to exploit this vulnerability and compromise the integrity of the system. The impact of this vulnerability may vary depending on the specific usage of NFC devices and the level of access an attacker has. However, it is crucial to address this vulnerability promptly to prevent potential security breaches.

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 workaround, users can disable NFC functionality on their devices if it is not essential for their operations. Disabling NFC eliminates the potential attack surface for this vulnerability. However, this workaround may not be feasible for systems heavily reliant on NFC functionality. It is recommended to apply the official fix by updating the Kernel package to ensure comprehensive protection against this vulnerability.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel package's nfc: st21nfca module, specifically in the EVT_TRANSACTION function. This vulnerability arises from incorrect sizing calculations, potentially leading to memory corruption or data manipulation. To mitigate this vulnerability, it is crucial to update the Linux Kernel package to version v5.10.122 or later, which includes the necessary fix. Disabling NFC functionality can serve as a temporary workaround, but it may not be suitable for all systems. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow attackers to manipulate NFC transaction data or cause a denial-of-service condition. The impact may vary depending on the specific usage of NFC devices and the level of access an attacker has.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.10.122 or later. This fix is available in commit cdd9227373f29bd68a1729dc33105026ff3202f6.

Yes, disabling NFC functionality on devices can serve as a temporary workaround to eliminate the potential attack surface. However, this may not be feasible for systems heavily reliant on NFC functionality.

At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is crucial to address this vulnerability promptly to prevent potential security breaches.

For more detailed information about this vulnerability, including its technical aspects and the fix, please refer to the provided references and the official documentation of the Linux Kernel package.

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