Junglewise Threat Intelligence

CVE-2025-40043: Linux Kernel uninitialized value in NFC NCI packet handling

CVE-2025-40043 · Severity: high · CVSS 8.8 · Published 2025-10-28

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was discovered in the Linux kernel's Near Field Communication (NFC) component. The issue involves insufficient validation of data packets, which could allow an attacker to trigger unexpected behavior or access uninitialized memory. This could potentially lead to a system crash or unauthorized access to sensitive information on devices using NFC technology.

Technical details

An uninitialized value vulnerability exists in the Linux kernel's NCI (NFC Controller Interface) implementation within `net/nfc/nci/ntf.c`. The root cause is inadequate input validation in `nic_valid_size()`, which fails to properly verify that the buffer length matches the expected NCI header layout. This allows the kernel to process `skb_buff->data` before it has been properly assigned, leading to the use of uninitialized memory. An attacker with adjacent network access (via NFC) could exploit this to cause a kernel panic or potentially leak information. The fix introduces rigorous length checks in various notification packet handlers (e.g., `nci_core_reset_ntf_packet`) to ensure packets are silently dropped if they do not meet size requirements.

Affected products

  • Linux Linux Kernel 3.2 to 6.17.3

Timeline

  • 2025-09-25: patched: Initial patch authored by Deepak Sharma
  • 2025-10-28: disclosed: CVE-2025-40043 published

References

Related threats