Vulnerability in Kernel package: nfc: nci: add flush_workqueue to prevent uaf

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002465: nfc: nci: add flush_workqueue to prevent uaf. Affects Kernel versions >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 7d3232214ca4ea8f7d18df264c3b254aa8089d7f. 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 a crucial component of the Linux operating system that provides core functionality and acts as an interface between the hardware and software layers. It includes various subsystems and drivers responsible for managing system resources and facilitating communication between different components. One such subsystem is the nfc (Near Field Communication) subsystem, which enables communication between devices in close proximity. The nci (NFC Controller Interface) module within the nfc subsystem handles the low-level communication with NFC controllers. However, a vulnerability has been identified in the nci module that could lead to a use-after-free (UAF) issue.

Vulnerability Detail

The vulnerability in the nci module arises due to a missing flush_workqueue call. This missing call can result in a use-after-free condition, where a pointer to a deallocated memory object is still accessed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v3.2 of the Linux Kernel by commit 6a2968aaf50c7a22fced77a5e24aa636281efca8 and has been fixed in version v4.9.311 by commit 7d3232214ca4ea8f7d18df264c3b254aa8089d7f.

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 →

Conclusion

The vulnerability in the Kernel package's nci module can lead to a use-after-free issue, potentially enabling arbitrary code execution or causing a denial-of-service condition. It is crucial to update the Linux Kernel package to version v4.9.311 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system that provides core functionality and acts as an interface between the hardware and software layers.

The nfc (Near Field Communication) subsystem enables communication between devices in close proximity.

The nci (NFC Controller Interface) module is a part of the nfc subsystem and handles low-level communication with NFC controllers.

A use-after-free vulnerability occurs when a program continues to use a pointer to a memory object after it has been deallocated, leading to potential security issues.

An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.

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