CVE-2022-50854
Memory Leak in Linux Kernel NFC virtual_ncidev Component
Publication date: 2025-12-30
Last updated on: 2025-12-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's NFC subsystem, specifically in the virtual_ncidev component. The function virtual_nci_send() fails to free allocated memory (skb), causing a memory leak that can be detected by kmemleak.
How can this vulnerability impact me? :
The memory leak can lead to increased memory usage over time, potentially degrading system performance or causing resource exhaustion if the leak is significant and persistent.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for memory leaks reported by kmemleak related to the virtual_nci_send() function in the Linux kernel NFC subsystem. A suggested approach is to reproduce the issue using the selftests provided in the Linux kernel source under tools/testing/selftests/nci by running the commands: cd tools/testing/selftests/nci; make; ./nci_dev. Observing kmemleak reports for unreferenced objects related to nci_dev indicates the presence of the memory leak.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where the memory leak in virtual_nci_send() has been fixed. Until then, monitoring for memory leaks using kmemleak and avoiding use of the vulnerable NFC virtual_nci_send() functionality can help reduce impact.