Vulnerability in Kernel package: nfc: nci: add flush_workqueue to prevent uaf
Summary
GSD-2022-1002296: nfc: nci: add flush_workqueue to prevent uaf. Affects Kernel versions >= 6a2968aaf50c7a22fced77a5e24aa636281efca8, < 1a1748d0dd0f0a98535c6baeef671c8722107639. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and software components. The nfc (Near Field Communication) subsystem within the Kernel enables communication between devices in close proximity. The nci (NFC Controller Interface) module specifically handles the low-level communication with NFC controllers. However, a vulnerability has been identified in the nci module that can lead to a use-after-free (UAF) issue.
Vulnerability Detail
The vulnerability arises from a missing flush_workqueue call in the nci module. This can result in a use-after-free scenario, where a work item is accessed after it has been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack feasibility of this vulnerability have not been fully proven. The vulnerability was introduced in version v3.2 of the Linux Kernel and has been fixed in version v4.19.239.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
In conclusion, a vulnerability has been identified in the Kernel package's nci module that can lead to a use-after-free issue. It is recommended to update the Linux Kernel package to version v4.19.239 or later to fix this vulnerability. No specific workaround has been mentioned. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
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 and it will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.
The vulnerability specifically affects the Kernel package. However, it is always recommended to keep all software components up to date to ensure overall system security.
You can find more information about this vulnerability in the GSD-2022-1002296 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002296.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.