CVE-2022-1734
Linux Kernel vulnerability analysis and mitigation

Overview

A flaw in Linux Kernel was discovered in nfcmrvlnciunregister_dev() function located in drivers/nfc/nfcmrvl/main.c. The vulnerability (CVE-2022-1734) can lead to use-after-free both read and write conditions when there is no synchronization between cleanup routine and firmware download routine. The issue was discovered in May 2022 and affects Linux Kernel versions prior to 5.18-rc5 (CVE Mitre, Ubuntu Security).

Technical details

The vulnerability stems from destructive operations such as nfcmrvlfwdnldabort and gpiofree in nfcmrvlnciunregisterdev. The resources including firmware and gpio could be destructed while upper layer functions like nfcmrvlfwdnldstart and nfcmrvlncirecv_frame are executing. This leads to multiple issues including double-free, use-after-free, and null-pointer-dereference bugs. The vulnerability has been assigned a CVSS v3.1 score of 7.0 (High) with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat Security).

Impact

When successfully exploited, this vulnerability could lead to multiple security implications including disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). A local attacker could potentially use this to cause a denial of service through system crash or memory corruption, or possibly execute arbitrary code for privilege escalation (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in the mainline Linux kernel through commit d270453a0d9ec10bb8a802a142fb1b3601a83098. The fix reorders destructive operations after nciunregisterdevice to ensure proper synchronization between cleanup routine and firmware download routine. Various Linux distributions have released patches, including Ubuntu (5.15.0-41.44) and Debian (4.19.249-2). For systems where patches cannot be immediately applied, it's worth noting that this driver is not enabled in some distributions' official kernel configurations (GitHub Linux).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management