Junglewise Threat Intelligence

CVE-2026-31622: Linux Kernel heap overflow in NFC digital SDD response handler

CVE-2026-31622 · Severity: high · CVSS 8.8 · Published 2026-04-24

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability exists in the Linux kernel's Near Field Communication (NFC) implementation. A malicious NFC device in close physical proximity can send specially crafted responses that cause the kernel to write data beyond its intended memory buffer. This could lead to a system crash or potentially allow an attacker to gain unauthorized control over the affected device.

Technical details

A heap-based buffer overflow exists in the digital_in_recv_sdd_res() function within net/nfc/digital_technology.c. The vulnerability stems from a lack of bounds checking on the NFC-A anti-collision cascade depth. While ISO 14443-3 limits NFC-A to three cascade levels (max 10 bytes for nfcid1), the driver relies on the peer device to signal the end of the cascade. A malicious peer can force additional rounds, appending 3-4 bytes per round and writing past the allocated nfc_target structure. This is reachable via adjacent wireless (NFC) interaction. Patches have been released across multiple stable kernel branches to enforce the NFC_NFCID1_MAXSIZE limit.

Affected products

  • Linux Linux Kernel 3.13 to 6.6.136, 6.7 to 6.12.83, 6.13 to 6.18.24, 6.19 to 6.19.14, 7.0 to 7.0.1

Timeline

  • 2026-04-24: disclosed
  • 2026-04-24: advisory
  • 2026-04-09: patched: Initial patch authored by Greg Kroah-Hartman

References

Related threats