CVE-2025-38416
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38416 is a vulnerability discovered in the Linux kernel's NFC subsystem, specifically in the NCI UART driver component. The vulnerability was disclosed on July 25, 2025, affecting the tty->disc_data handling in the NCI UART driver (NVD).

Technical details

The vulnerability involves improper handling of tty->discdata in the NCI UART driver. The issue occurs because tty->discdata is set before opening the NCI device, creating a potential security risk during device initialization. This implementation could lead to problems if the device starts sending data before the NCIUARTSETDRIVER IOCTL succeeds, particularly in cases of broken hardware (RedHat). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Moderate) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (RedHat).

Impact

The vulnerability could potentially lead to system instability or denial of service conditions in systems utilizing the NFC NCI UART driver. The CVSS scoring indicates that while the vulnerability requires local access and low privileges, it could result in high availability impact to the affected system (RedHat).

Mitigation and workarounds

The vulnerability has been patched by modifying the code to only expose tty->discdata on the success path, when opening of the NCI device and trymodule_get() succeeds. This change ensures proper cleanup on error paths and closes the potential security window (NVD).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 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